Chromium Code Reviews| Index: android_webview/browser/hardware_renderer.cc |
| diff --git a/android_webview/browser/hardware_renderer.cc b/android_webview/browser/hardware_renderer.cc |
| index 6136aeab9af4aa988b0b410093a94130fa56e37f..a3a4e37345a7b17b2b2c348ee87b86a6c15ce953 100644 |
| --- a/android_webview/browser/hardware_renderer.cc |
| +++ b/android_webview/browser/hardware_renderer.cc |
| @@ -90,7 +90,7 @@ bool HardwareRenderer::DrawGL(AwDrawGLInfo* draw_info, DrawGLResult* result) { |
| ScopedAppGLStateRestore state_restore(ScopedAppGLStateRestore::MODE_DRAW); |
| internal::ScopedAllowGL allow_gl; |
| - if (draw_info->mode == AwDrawGLInfo::kModeProcess) |
| + if (draw_info->mode != AwDrawGLInfo::kModeDraw) |
|
hush (inactive)
2014/04/29 17:21:44
is it true that we only access the shared renderer
boliu
2014/04/29 17:33:53
Done.
|
| return false; |
| // Update memory budget. This will no-op in compositor if the policy has not |