Commit 5ca9f956 authored by Tom Anderson's avatar Tom Anderson Committed by Commit Bot

Fix a TODO in pdf_child_init.cc

BUG=941663
R=thestig

Change-Id: I0271fb9ac7a1fe8471ba9ddefdf01348e3ac6a82
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1616361
Auto-Submit: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#660726}
parent 81046e57
...@@ -68,11 +68,7 @@ void InitializePDF() { ...@@ -68,11 +68,7 @@ void InitializePDF() {
// (https://bugs.chromium.org/p/pdfium/issues/detail?id=11). // (https://bugs.chromium.org/p/pdfium/issues/detail?id=11).
#if defined(COMPONENT_BUILD) #if defined(COMPONENT_BUILD)
HMODULE module = ::GetModuleHandleA("pdfium.dll"); HMODULE module = ::GetModuleHandleA("pdfium.dll");
DCHECK(module);
// TODO(thomasanderson): Replace this condition with DCHECK(module) once
// PDFium is switched to a component.
if (!module)
module = CURRENT_MODULE();
#else #else
HMODULE module = CURRENT_MODULE(); HMODULE module = CURRENT_MODULE();
#endif // defined(COMPONENT_BUILD) #endif // defined(COMPONENT_BUILD)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment