Index: android_webview/browser/deferred_gpu_command_service.h |
diff --git a/android_webview/browser/deferred_gpu_command_service.h b/android_webview/browser/deferred_gpu_command_service.h |
index bbfe9475da376319939eb067eaae364f2a05e84a..696854db9919c7dab4016811007aaf1a57ddb50a 100644 |
--- a/android_webview/browser/deferred_gpu_command_service.h |
+++ b/android_webview/browser/deferred_gpu_command_service.h |
@@ -27,12 +27,12 @@ class ScopedAllowGL { |
DISALLOW_COPY_AND_ASSIGN(ScopedAllowGL); |
}; |
-// TODO(boliu): Teach this class about RT. |
class DeferredGpuCommandService |
: public gpu::InProcessCommandBuffer::Service, |
public base::RefCountedThreadSafe<DeferredGpuCommandService> { |
public: |
static void SetInstance(); |
+ static DeferredGpuCommandService* GetInstance(); |
virtual void ScheduleTask(const base::Closure& task) OVERRIDE; |
virtual void ScheduleIdleWork(const base::Closure& task) OVERRIDE; |
@@ -50,7 +50,7 @@ class DeferredGpuCommandService |
friend class base::RefCountedThreadSafe<DeferredGpuCommandService>; |
private: |
- static void RequestProcessGLOnUIThread(); |
+ static void RequestProcessGL(); |
DeferredGpuCommandService(); |