Commit 58359791 authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

Removes unused function in PepperGraphics2dHost

AFAICT it's not used

BUG=none
TEST=none

Change-Id: I170fc14bdb064524cecb8f90c17b35fac3f7f2b5
Reviewed-on: https://chromium-review.googlesource.com/728867Reviewed-by: default avatarBill Budge <bbudge@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510228}
parent 494f6083
...@@ -381,10 +381,6 @@ float PepperGraphics2DHost::GetScale() const { return scale_; } ...@@ -381,10 +381,6 @@ float PepperGraphics2DHost::GetScale() const { return scale_; }
bool PepperGraphics2DHost::IsAlwaysOpaque() const { return is_always_opaque_; } bool PepperGraphics2DHost::IsAlwaysOpaque() const { return is_always_opaque_; }
PPB_ImageData_Impl* PepperGraphics2DHost::ImageData() {
return image_data_.get();
}
gfx::Size PepperGraphics2DHost::Size() const { gfx::Size PepperGraphics2DHost::Size() const {
if (!image_data_.get()) if (!image_data_.get())
return gfx::Size(); return gfx::Size();
......
...@@ -84,7 +84,6 @@ class CONTENT_EXPORT PepperGraphics2DHost ...@@ -84,7 +84,6 @@ class CONTENT_EXPORT PepperGraphics2DHost
float GetScale() const; float GetScale() const;
void SetLayerTransform(float scale, const PP_Point& transform); void SetLayerTransform(float scale, const PP_Point& transform);
bool IsAlwaysOpaque() const; bool IsAlwaysOpaque() const;
PPB_ImageData_Impl* ImageData();
gfx::Size Size() const; gfx::Size Size() const;
void ClearCache(); void ClearCache();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment