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

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: Slight clean up. Created 5 years, 5 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
« no previous file with comments | « no previous file | Source/web/tests/WebUnitTests.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebKit.cpp
diff --git a/Source/web/WebKit.cpp b/Source/web/WebKit.cpp
index 996c62e81789bc578b4f7d43a9ee4cefce8a803f..cdf1df9f1d48110388fc0612c924dcb6f03855c0 100644
--- a/Source/web/WebKit.cpp
+++ b/Source/web/WebKit.cpp
@@ -67,7 +67,7 @@
namespace blink {
-namespace {
+namespace helpers {
jochen (gone - plz use gerrit) 2015/07/16 13:46:54 why this change?
Daniel Bratell 2015/07/16 13:57:11 Via the precompiled headers (Document.h I assume)
class EndOfTaskRunner : public WebThread::TaskObserver {
public:
@@ -123,7 +123,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);
}
}
@@ -160,7 +160,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));
}
static void adjustAmountOfExternalAllocatedMemory(int size)
« no previous file with comments | « no previous file | Source/web/tests/WebUnitTests.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698