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

Unified Diff: cc/damage_tracker.h

Issue 11418117: cc: Increment the ref count when assigning the SkImageFilter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « no previous file | cc/damage_tracker.cc » ('j') | cc/damage_tracker_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/damage_tracker.h
diff --git a/cc/damage_tracker.h b/cc/damage_tracker.h
index 190c92adbc8e70839dbf0882cfff7b4bf7a2e747..3b7ba1408b193036c75f56374385242a2c236425 100644
--- a/cc/damage_tracker.h
+++ b/cc/damage_tracker.h
@@ -8,11 +8,11 @@
#include "base/hash_tables.h"
#include "base/memory/scoped_ptr.h"
#include "cc/cc_export.h"
+#include "third_party/skia/include/core/SkImageFilter.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
#include "ui/gfx/rect_f.h"
#include <vector>
-class SkImageFilter;
-
namespace gfx {
class Rect;
}
@@ -35,7 +35,7 @@ public:
void didDrawDamagedArea() { m_currentDamageRect = gfx::RectF(); }
void forceFullDamageNextUpdate() { m_forceFullDamageNextUpdate = true; }
- void updateDamageTrackingState(const std::vector<LayerImpl*>& layerList, int targetSurfaceLayerID, bool targetSurfacePropertyChangedOnlyFromDescendant, const gfx::Rect& targetSurfaceContentRect, LayerImpl* targetSurfaceMaskLayer, const WebKit::WebFilterOperations&, SkImageFilter* filter);
+ void updateDamageTrackingState(const std::vector<LayerImpl*>& layerList, int targetSurfaceLayerID, bool targetSurfacePropertyChangedOnlyFromDescendant, const gfx::Rect& targetSurfaceContentRect, LayerImpl* targetSurfaceMaskLayer, const WebKit::WebFilterOperations&, const SkRefPtr<SkImageFilter>& filter);
const gfx::RectF& currentDamageRect() { return m_currentDamageRect; }
« no previous file with comments | « no previous file | cc/damage_tracker.cc » ('j') | cc/damage_tracker_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698