Commit e280167d authored by alokp@chromium.org's avatar alokp@chromium.org

Delete per-layer gpu rasterization hint.

The hint is now per page instead of per layer.

BUG=367202
TBR=enne@chromium.org

Review URL: https://codereview.chromium.org/316053002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275744 0039d316-1c4b-4281-b951-d872f2087c98
parent a1fcc1d5
...@@ -46,11 +46,6 @@ void WebContentLayerImpl::setDrawCheckerboardForMissingTiles(bool enable) { ...@@ -46,11 +46,6 @@ void WebContentLayerImpl::setDrawCheckerboardForMissingTiles(bool enable) {
layer_->layer()->SetDrawCheckerboardForMissingTiles(enable); layer_->layer()->SetDrawCheckerboardForMissingTiles(enable);
} }
void WebContentLayerImpl::setHasGpuRasterizationHint(bool has_hint) {
// TODO(ajuma): Convert per-layer GPU rasterization hints to per-layer
// prepaint-disabling hints (crbug.com/365885).
}
void WebContentLayerImpl::PaintContents( void WebContentLayerImpl::PaintContents(
SkCanvas* canvas, SkCanvas* canvas,
const gfx::Rect& clip, const gfx::Rect& clip,
......
...@@ -30,7 +30,6 @@ class WebContentLayerImpl : public blink::WebContentLayer, ...@@ -30,7 +30,6 @@ class WebContentLayerImpl : public blink::WebContentLayer,
virtual blink::WebLayer* layer(); virtual blink::WebLayer* layer();
virtual void setDoubleSided(bool double_sided); virtual void setDoubleSided(bool double_sided);
virtual void setDrawCheckerboardForMissingTiles(bool checkerboard); virtual void setDrawCheckerboardForMissingTiles(bool checkerboard);
virtual void setHasGpuRasterizationHint(bool has_hint);
protected: protected:
virtual ~WebContentLayerImpl(); virtual ~WebContentLayerImpl();
......
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