summaryrefslogtreecommitdiffstats
path: root/webkit/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins')
-rw-r--r--webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc b/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc
index 9a0fb6b..769bc39 100644
--- a/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc
+++ b/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -111,9 +111,9 @@ void WebPluginDelegateImpl::Paint(WebKit::WebCanvas* canvas,
const gfx::Rect& rect) {
if (!windowless_)
return;
- cairo_t* context = canvas->beginPlatformPaint();
+ cairo_t* context = skia::BeginPlatformPaint(canvas);
WindowlessPaint(context, rect);
- canvas->endPlatformPaint();
+ skia::EndPlatformPaint(canvas);
}
void WebPluginDelegateImpl::Print(cairo_t* context) {