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

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLQuery.h

Issue 2514733002: Scheduler: Deprecate CancellableTaskFactory in favor of WebTaskRunner::postCancellableTask (3) (Closed)
Patch Set: rebase Created 4 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webgl/WebGLQuery.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebGLQuery_h 5 #ifndef WebGLQuery_h
6 #define WebGLQuery_h 6 #define WebGLQuery_h
7 7
8 #include "modules/webgl/WebGLSharedPlatform3DObject.h" 8 #include "modules/webgl/WebGLSharedPlatform3DObject.h"
9 #include "platform/scheduler/CancellableTaskFactory.h" 9 #include "platform/WebTaskRunner.h"
10 10
11 namespace gpu { 11 namespace gpu {
12 namespace gles2 { 12 namespace gles2 {
13 class GLES2Interface; 13 class GLES2Interface;
14 } 14 }
15 } 15 }
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class WebGL2RenderingContextBase; 19 class WebGL2RenderingContextBase;
(...skipping 28 matching lines...) Expand all
48 void scheduleAllowAvailabilityUpdate(); 48 void scheduleAllowAvailabilityUpdate();
49 void allowAvailabilityUpdate(); 49 void allowAvailabilityUpdate();
50 50
51 GLenum m_target; 51 GLenum m_target;
52 52
53 bool m_canUpdateAvailability; 53 bool m_canUpdateAvailability;
54 bool m_queryResultAvailable; 54 bool m_queryResultAvailable;
55 GLuint m_queryResult; 55 GLuint m_queryResult;
56 56
57 std::unique_ptr<WebTaskRunner> m_taskRunner; 57 std::unique_ptr<WebTaskRunner> m_taskRunner;
58 std::unique_ptr<CancellableTaskFactory> m_cancellableTaskFactory; 58 TaskHandle m_taskHandle;
59 }; 59 };
60 60
61 } // namespace blink 61 } // namespace blink
62 62
63 #endif // WebGLQuery_h 63 #endif // WebGLQuery_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webgl/WebGLQuery.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698