Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1077)

Unified Diff: content/child/fileapi/webfilesystem_impl.cc

Issue 897563002: Unify the three places that patch font loading for PDFium on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/child/fileapi/webfilesystem_impl.cc
diff --git a/content/child/fileapi/webfilesystem_impl.cc b/content/child/fileapi/webfilesystem_impl.cc
index 8fe024305b5b1f9a2110708a06fd1f99bd48e46c..f41377fb4f0702b832f266c678ea425a814b7aa4 100644
--- a/content/child/fileapi/webfilesystem_impl.cc
+++ b/content/child/fileapi/webfilesystem_impl.cc
@@ -11,7 +11,7 @@
#include "base/strings/utf_string_conversions.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/thread_local.h"
-#include "content/child/child_thread.h"
+#include "content/child/child_thread_impl.h"
#include "content/child/file_info_util.h"
#include "content/child/fileapi/file_system_dispatcher.h"
#include "content/child/fileapi/webfilewriter_impl.h"
@@ -86,8 +86,8 @@ base::LazyInstance<base::ThreadLocalPointer<WebFileSystemImpl> >::Leaky
g_webfilesystem_tls = LAZY_INSTANCE_INITIALIZER;
void DidReceiveSnapshotFile(int request_id) {
- if (ChildThread::current())
- ChildThread::current()->Send(
+ if (ChildThreadImpl::current())
+ ChildThreadImpl::current()->Send(
new FileSystemHostMsg_DidReceiveSnapshotFile(request_id));
}
@@ -110,12 +110,12 @@ void CallDispatcherOnMainThread(
return;
waitable_results->WaitAndRun();
}
- if (!ChildThread::current() ||
- !ChildThread::current()->file_system_dispatcher())
+ if (!ChildThreadImpl::current() ||
+ !ChildThreadImpl::current()->file_system_dispatcher())
return;
DCHECK(!waitable_results);
- DispatchToMethod(ChildThread::current()->file_system_dispatcher(),
+ DispatchToMethod(ChildThreadImpl::current()->file_system_dispatcher(),
method, params);
}

Powered by Google App Engine
This is Rietveld 408576698