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

Unified Diff: content/renderer/render_widget.h

Issue 11138024: Simplify platform_canvas.h by recognizing that PlatformCanvas does not actually extend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « content/renderer/render_process_impl.cc ('k') | content/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.h
===================================================================
--- content/renderer/render_widget.h (revision 167659)
+++ content/renderer/render_widget.h (working copy)
@@ -47,10 +47,6 @@
class WebTouchEvent;
}
-namespace skia {
-class PlatformCanvas;
-}
-
namespace ui {
class Range;
}
@@ -227,10 +223,10 @@
// shared memory segment returned by AllocPaintBuf on Windows). The caller
// must ensure that the given rect fits within the bounds of the WebWidget.
void PaintRect(const gfx::Rect& rect, const gfx::Point& canvas_origin,
- skia::PlatformCanvas* canvas);
+ SkCanvas* canvas);
// Paints a border at the given rect for debugging purposes.
- void PaintDebugBorder(const gfx::Rect& rect, skia::PlatformCanvas* canvas);
+ void PaintDebugBorder(const gfx::Rect& rect, SkCanvas* canvas);
bool IsRenderingVSynced();
void AnimationCallback();
« no previous file with comments | « content/renderer/render_process_impl.cc ('k') | content/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698