summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_widget.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 20:33:47 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 20:33:47 +0000
commit01b4723fc6fa917f02e39cd1329f6d85ce3fa513 (patch)
treecfdeeea2b87cdd7bc220ecc40c1b26cbc4defdc5 /chrome/renderer/render_widget.cc
parentef86fb81fb8cddde07c3c613fbd394a78c0cccc9 (diff)
downloadchromium_src-01b4723fc6fa917f02e39cd1329f6d85ce3fa513.zip
chromium_src-01b4723fc6fa917f02e39cd1329f6d85ce3fa513.tar.gz
chromium_src-01b4723fc6fa917f02e39cd1329f6d85ce3fa513.tar.bz2
Revert some changes I accidentally checked in in revision 50597. This was an
experiment to see how much time was spent doing background painting. This resulted in incorrect opacity for Pepper plugins repainting themselves. TEST=none BUG=none Review URL: http://codereview.chromium.org/2830034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51420 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_widget.cc')
-rw-r--r--chrome/renderer/render_widget.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/chrome/renderer/render_widget.cc b/chrome/renderer/render_widget.cc
index 2366f78..5b5058e 100644
--- a/chrome/renderer/render_widget.cc
+++ b/chrome/renderer/render_widget.cc
@@ -386,8 +386,7 @@ void RenderWidget::PaintRect(const gfx::Rect& rect,
canvas->drawPaint(paint);
}
- if (!OptimizedPluginPaintInRect(canvas, rect))
- webwidget_->paint(webkit_glue::ToWebCanvas(canvas), rect);
+ webwidget_->paint(webkit_glue::ToWebCanvas(canvas), rect);
PaintDebugBorder(rect, canvas);
@@ -934,8 +933,3 @@ void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) {
}
}
}
-
-bool RenderWidget::OptimizedPluginPaintInRect(skia::PlatformCanvas* canvas,
- const gfx::Rect& rect) {
- return false;
-}