summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/context/GraphicsOperationCollection.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/android/context/GraphicsOperationCollection.h')
-rw-r--r--Source/WebCore/platform/graphics/android/context/GraphicsOperationCollection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/android/context/GraphicsOperationCollection.h b/Source/WebCore/platform/graphics/android/context/GraphicsOperationCollection.h
index a8696fe..246e784 100644
--- a/Source/WebCore/platform/graphics/android/context/GraphicsOperationCollection.h
+++ b/Source/WebCore/platform/graphics/android/context/GraphicsOperationCollection.h
@@ -43,12 +43,12 @@ public:
~GraphicsOperationCollection();
void apply(PlatformGraphicsContext* context);
- void append(GraphicsOperation::Operation* operation);
+ void adoptAndAppend(GraphicsOperation::Operation* operation);
bool isEmpty();
private:
- Vector<GraphicsOperation::Operation*> m_operations;
+ Vector< RefPtr<GraphicsOperation::Operation> > m_operations;
};
}