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

Unified Diff: Source/platform/graphics/filters/FilterOperations.h

Issue 1276183004: Oilpan: Unship oilpan from temporary animation objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
Index: Source/platform/graphics/filters/FilterOperations.h
diff --git a/Source/platform/graphics/filters/FilterOperations.h b/Source/platform/graphics/filters/FilterOperations.h
index cf967bd009a5bc61ba09426d77e263715026e1ff..3e335bfa69391175547aaedb084f4d0f69409677 100644
--- a/Source/platform/graphics/filters/FilterOperations.h
+++ b/Source/platform/graphics/filters/FilterOperations.h
@@ -93,6 +93,11 @@ public:
return new FilterOperationsWrapper();
}
+ static FilterOperationsWrapper* create(const FilterOperations& operations)
+ {
+ return new FilterOperationsWrapper(operations);
+ }
+
const FilterOperations& operations() const { return m_operations; }
DEFINE_INLINE_TRACE() { visitor->trace(m_operations); }
@@ -102,6 +107,11 @@ private:
{
}
+ explicit FilterOperationsWrapper(const FilterOperations& operations)
+ : m_operations(operations)
+ {
+ }
+
FilterOperations m_operations;
};
#endif

Powered by Google App Engine
This is Rietveld 408576698