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

Unified Diff: Source/web/WebKit.cpp

Issue 1178823003: Precompile Document.h and LayoutObject.h for Source/web Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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: Source/web/WebKit.cpp
diff --git a/Source/web/WebKit.cpp b/Source/web/WebKit.cpp
index 6b1bc9394ebc90a076029c3235be48e270bc17f0..2683d852b98d0572102a30ff4df9c365beb80ee8 100644
--- a/Source/web/WebKit.cpp
+++ b/Source/web/WebKit.cpp
@@ -66,7 +66,7 @@
namespace blink {
-namespace {
+namespace helpers {
class EndOfTaskRunner : public WebThread::TaskObserver {
public:
@@ -122,7 +122,7 @@ void initialize(Platform* platform)
// currentThread is null if we are running on a thread without a message loop.
if (WebThread* currentThread = platform->currentThread()) {
ASSERT(!s_endOfTaskRunner);
- s_endOfTaskRunner = new EndOfTaskRunner;
+ s_endOfTaskRunner = new helpers::EndOfTaskRunner;
currentThread->addTaskObserver(s_endOfTaskRunner);
}
}
@@ -159,7 +159,7 @@ static void cryptographicallyRandomValues(unsigned char* buffer, size_t length)
static void callOnMainThreadFunction(WTF::MainThreadFunction function, void* context)
{
- Platform::current()->mainThread()->postTask(FROM_HERE, new MainThreadTaskRunner(function, context));
+ Platform::current()->mainThread()->postTask(FROM_HERE, new helpers::MainThreadTaskRunner(function, context));
}
void initializeWithoutV8(Platform* platform)

Powered by Google App Engine
This is Rietveld 408576698