Chromium Code Reviews| 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) |