summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/webwidget_host_gtk.cc
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 23:29:40 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 23:29:40 +0000
commit21f527e6a4a812b604dd0891b27878d8418c04d9 (patch)
tree4dec5cb778e0b0755606f1d2113b3b6097188f85 /webkit/tools/test_shell/webwidget_host_gtk.cc
parentf8a2599cd63347322133ffa5c89195d66dc3d4b3 (diff)
downloadchromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.zip
chromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.tar.gz
chromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.tar.bz2
Move the "platform" wrappers in skia/ext to the skia namespace.
Review URL: http://codereview.chromium.org/14110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7182 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/webwidget_host_gtk.cc')
-rw-r--r--webkit/tools/test_shell/webwidget_host_gtk.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/tools/test_shell/webwidget_host_gtk.cc b/webkit/tools/test_shell/webwidget_host_gtk.cc
index 2e525b5..f873fa1 100644
--- a/webkit/tools/test_shell/webwidget_host_gtk.cc
+++ b/webkit/tools/test_shell/webwidget_host_gtk.cc
@@ -220,7 +220,7 @@ void WebWidgetHost::Paint() {
if (!canvas_.get()) {
ResetScrollRect();
paint_rect_ = client_rect;
- canvas_.reset(new gfx::PlatformCanvas(width, height, true));
+ canvas_.reset(new skia::PlatformCanvas(width, height, true));
if (!canvas_.get()) {
// memory allocation failed, we can't paint.
LOG(ERROR) << "Failed to allocate memory for " << width << "x" << height;
@@ -262,9 +262,9 @@ void WebWidgetHost::Paint() {
gdk_window_begin_paint_rect(view_->window, &grect);
// BitBlit to the gdk window.
- gfx::PlatformDeviceLinux &platdev = canvas_->getTopPlatformDevice();
- gfx::BitmapPlatformDeviceLinux* const bitdev =
- static_cast<gfx::BitmapPlatformDeviceLinux* >(&platdev);
+ skia::PlatformDeviceLinux &platdev = canvas_->getTopPlatformDevice();
+ skia::BitmapPlatformDeviceLinux* const bitdev =
+ static_cast<skia::BitmapPlatformDeviceLinux* >(&platdev);
cairo_t* cairo_drawable = gdk_cairo_create(view_->window);
cairo_set_source_surface(cairo_drawable, bitdev->surface(), 0, 0);
cairo_paint(cairo_drawable);