summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-12 20:58:58 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-12 20:58:58 +0000
commit0141ba3ca96fe156474074493b277cf2fd352cc8 (patch)
tree164445cceedac7e91d4b19a0fca8c1c757197020 /webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
parenta8d4909721756525e14b9429db9c61a63932005d (diff)
downloadchromium_src-0141ba3ca96fe156474074493b277cf2fd352cc8.zip
chromium_src-0141ba3ca96fe156474074493b277cf2fd352cc8.tar.gz
chromium_src-0141ba3ca96fe156474074493b277cf2fd352cc8.tar.bz2
Move the time conversion code to the PPAPI shared_impl directory and use it in
the proxy for converting event times. This also removes the unnecessary GetInterface function from Graphics2D and has the module use the thunk directly. Review URL: http://codereview.chromium.org/7344009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92229 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/ppb_graphics_2d_impl.cc')
-rw-r--r--webkit/plugins/ppapi/ppb_graphics_2d_impl.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc b/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
index 77da1e2..493b344 100644
--- a/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
+++ b/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
@@ -174,11 +174,6 @@ PP_Resource PPB_Graphics2D_Impl::Create(PluginInstance* instance,
return graphics_2d->GetReference();
}
-// static
-const PPB_Graphics2D* PPB_Graphics2D_Impl::GetInterface() {
- return ::ppapi::thunk::GetPPB_Graphics2D_Thunk();
-}
-
bool PPB_Graphics2D_Impl::Init(int width, int height, bool is_always_opaque) {
// The underlying PPB_ImageData_Impl will validate the dimensions.
image_data_ = new PPB_ImageData_Impl(instance());