Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: cc/image_layer_updater.h

Issue 11794019: Avoid exposing gl bindings through cc public API headers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/image_layer.cc ('k') | cc/image_layer_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/image_layer_updater.h
diff --git a/cc/image_layer_updater.h b/cc/image_layer_updater.h
index fcb2efc9a2ff65b9d80b0a1c43a7af049db8d176..938d07a5974b8fcd053bc62ced8bfdf52c5bf4e3 100644
--- a/cc/image_layer_updater.h
+++ b/cc/image_layer_updater.h
@@ -6,6 +6,7 @@
#define CC_IMAGE_LAYER_UPDATER_H_
#include "cc/layer_updater.h"
+#include "third_party/skia/include/core/SkBitmap.h"
namespace cc {
@@ -15,11 +16,8 @@ class ImageLayerUpdater : public LayerUpdater {
public:
class Resource : public LayerUpdater::Resource {
public:
- Resource(ImageLayerUpdater* updater, scoped_ptr<PrioritizedResource> texture)
- : LayerUpdater::Resource(texture.Pass())
- , m_updater(updater)
- {
- }
+ Resource(ImageLayerUpdater* updater, scoped_ptr<PrioritizedResource> texture);
+ virtual ~Resource();
virtual void update(ResourceUpdateQueue&, const gfx::Rect& sourceRect, const gfx::Vector2d& destOffset, bool partialUpdate, RenderingStats&) OVERRIDE;
« no previous file with comments | « cc/image_layer.cc ('k') | cc/image_layer_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698