Index: android_webview/browser/shared_renderer_state.h |
diff --git a/android_webview/browser/shared_renderer_state.h b/android_webview/browser/shared_renderer_state.h |
index 89554ac8e12aea4648a4aac5b2a84a8a74030056..2ccea9b56b61204f3066c6e71edafa4c1a58931b 100644 |
--- a/android_webview/browser/shared_renderer_state.h |
+++ b/android_webview/browser/shared_renderer_state.h |
@@ -49,8 +49,8 @@ class SharedRendererState { |
scoped_ptr<DrawGLInput> PassDrawGLInput(); |
// Set by UI and read by RT. |
- void SetHardwareAllowed(bool allowed); |
- bool IsHardwareAllowed() const; |
+ void SetInsideHardwareRelease(bool inside); |
+ bool IsInsideHardwareRelease() const; |
void SetSharedContext(gpu::GLInProcessContext* context); |
gpu::GLInProcessContext* GetSharedContext() const; |
@@ -70,7 +70,7 @@ class SharedRendererState { |
// Accessed by both UI and RT thread. |
mutable base::Lock lock_; |
scoped_ptr<DrawGLInput> draw_gl_input_; |
- bool hardware_allowed_; |
+ bool inside_hardware_release_; |
gpu::GLInProcessContext* share_context_; |
cc::ReturnedResourceArray returned_resources_; |
}; |