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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view_views.cc

Issue 4815001: Use inner HWND for accelerated rendering on windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/render_widget_host_view_views.cc
===================================================================
--- chrome/browser/renderer_host/render_widget_host_view_views.cc (revision 67491)
+++ chrome/browser/renderer_host/render_widget_host_view_views.cc (working copy)
@@ -350,7 +350,7 @@
// Don't do any painting if the GPU process is rendering directly
// into the View.
RenderWidgetHost* render_widget_host = GetRenderWidgetHost();
- if (render_widget_host->is_gpu_rendering_active()) {
+ if (render_widget_host->is_accelerated_compositing_active()) {
return;
}
@@ -603,7 +603,8 @@
return false;
}
-void RenderWidgetHostViewViews::AcceleratedCompositingActivated(bool activated) {
+void RenderWidgetHostViewViews::AcceleratedCompositingActivated(
+ bool activated) {
// TODO(anicolao): figure out if we need something here
if (activated)
NOTIMPLEMENTED();

Powered by Google App Engine
This is Rietveld 408576698