From 885038e916c81e9308a88de23f797e8371f9c2a0 Mon Sep 17 00:00:00 2001 From: "alokp@chromium.org" Date: Mon, 11 Apr 2011 14:55:52 +0000 Subject: Eliminate skia::PlatformCanvas - Step 1 (linux) Patch corresponding to r80955 on linux. Review URL: http://codereview.chromium.org/6813050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81099 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'webkit/plugins') 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) { -- cgit v1.1