OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 29 matching lines...) Expand all Loading... |
40 #include "platform/ThreadSafeFunctional.h" | 40 #include "platform/ThreadSafeFunctional.h" |
41 #include "platform/WaitableEvent.h" | 41 #include "platform/WaitableEvent.h" |
42 #include "platform/WebThreadSupportingGC.h" | 42 #include "platform/WebThreadSupportingGC.h" |
43 #include "platform/heap/SafePoint.h" | 43 #include "platform/heap/SafePoint.h" |
44 #include "platform/heap/ThreadState.h" | 44 #include "platform/heap/ThreadState.h" |
45 #include "platform/weborigin/KURL.h" | 45 #include "platform/weborigin/KURL.h" |
46 #include "public/platform/WebScheduler.h" | 46 #include "public/platform/WebScheduler.h" |
47 #include "public/platform/WebThread.h" | 47 #include "public/platform/WebThread.h" |
48 #include "wtf/Functional.h" | 48 #include "wtf/Functional.h" |
49 #include "wtf/Noncopyable.h" | 49 #include "wtf/Noncopyable.h" |
50 #include "wtf/WeakPtr.h" | |
51 #include "wtf/text/WTFString.h" | 50 #include "wtf/text/WTFString.h" |
52 #include <limits.h> | 51 #include <limits.h> |
53 | 52 |
54 namespace blink { | 53 namespace blink { |
55 | 54 |
56 class WorkerMicrotaskRunner : public WebThread::TaskObserver { | 55 class WorkerMicrotaskRunner : public WebThread::TaskObserver { |
57 public: | 56 public: |
58 explicit WorkerMicrotaskRunner(WorkerThread* workerThread) | 57 explicit WorkerMicrotaskRunner(WorkerThread* workerThread) |
59 : m_workerThread(workerThread) | 58 : m_workerThread(workerThread) |
60 { | 59 { |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 } while (task && m_pausedInDebugger); | 450 } while (task && m_pausedInDebugger); |
452 InspectorInstrumentation::didLeaveNestedRunLoop(m_workerGlobalScope.get()); | 451 InspectorInstrumentation::didLeaveNestedRunLoop(m_workerGlobalScope.get()); |
453 } | 452 } |
454 | 453 |
455 void WorkerThread::stopRunningDebuggerTasksOnPause() | 454 void WorkerThread::stopRunningDebuggerTasksOnPause() |
456 { | 455 { |
457 m_pausedInDebugger = false; | 456 m_pausedInDebugger = false; |
458 } | 457 } |
459 | 458 |
460 } // namespace blink | 459 } // namespace blink |
OLD | NEW |