diff options
author | alokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-11 14:55:52 +0000 |
---|---|---|
committer | alokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-11 14:55:52 +0000 |
commit | 885038e916c81e9308a88de23f797e8371f9c2a0 (patch) | |
tree | 4344f3691e246c4fddbea756f827e2c80d94e6fa /webkit/plugins | |
parent | 11f595b2430eaa775245f7d7c24babf5a3e6fa09 (diff) | |
download | chromium_src-885038e916c81e9308a88de23f797e8371f9c2a0.zip chromium_src-885038e916c81e9308a88de23f797e8371f9c2a0.tar.gz chromium_src-885038e916c81e9308a88de23f797e8371f9c2a0.tar.bz2 |
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
Diffstat (limited to 'webkit/plugins')
-rw-r--r-- | webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc | 6 |
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) { |