| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 namespace blink { | 63 namespace blink { |
| 64 | 64 |
| 65 namespace { | 65 namespace { |
| 66 | 66 |
| 67 class EndOfTaskRunner : public WebThread::TaskObserver { | 67 class EndOfTaskRunner : public WebThread::TaskObserver { |
| 68 public: | 68 public: |
| 69 virtual void willProcessTask() { } | 69 virtual void willProcessTask() { } |
| 70 virtual void didProcessTask() | 70 virtual void didProcessTask() |
| 71 { | 71 { |
| 72 WebCore::Microtask::performCheckpoint(); | 72 WebCore::Microtask::performMicrotaskCheckpoint(); |
| 73 } | 73 } |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace | 76 } // namespace |
| 77 | 77 |
| 78 static WebThread::TaskObserver* s_endOfTaskRunner = 0; | 78 static WebThread::TaskObserver* s_endOfTaskRunner = 0; |
| 79 static WebThread::TaskObserver* s_pendingGCRunner = 0; | 79 static WebThread::TaskObserver* s_pendingGCRunner = 0; |
| 80 static WebCore::ThreadState::Interruptor* s_messageLoopInterruptor = 0; | 80 static WebCore::ThreadState::Interruptor* s_messageLoopInterruptor = 0; |
| 81 static WebCore::ThreadState::Interruptor* s_isolateInterruptor = 0; | 81 static WebCore::ThreadState::Interruptor* s_isolateInterruptor = 0; |
| 82 | 82 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 channel->state = WTFLogChannelOn; | 251 channel->state = WTFLogChannelOn; |
| 252 #endif // !LOG_DISABLED | 252 #endif // !LOG_DISABLED |
| 253 } | 253 } |
| 254 | 254 |
| 255 void resetPluginCache(bool reloadPages) | 255 void resetPluginCache(bool reloadPages) |
| 256 { | 256 { |
| 257 WebCore::Page::refreshPlugins(reloadPages); | 257 WebCore::Page::refreshPlugins(reloadPages); |
| 258 } | 258 } |
| 259 | 259 |
| 260 } // namespace blink | 260 } // namespace blink |
| OLD | NEW |