Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / css / CSSImageGeneratorValue.h
index 7192baf..09b63b0 100644 (file)
@@ -79,6 +79,14 @@ protected:
     HashCountedSet<IntSize> m_sizes; // A count of how many times a given image size is in use.
     RenderObjectSizeCountMap m_clients; // A map from RenderObjects (with entry count) to image sizes.
     HashMap<IntSize, RefPtr<Image> > m_images; // A cache of Image objects by image size.
+
+#if ENABLE(OILPAN)
+    // FIXME: Oilpan: when/if we can make the renderer point directly to the CSSImageGenerator value using
+    // a member we don't need to have this hack where we keep a persistent to the instance as long as
+    // there are clients in the RenderObjectSizeCountMap.
+    GC_PLUGIN_IGNORE("366546")
+    OwnPtr<Persistent<CSSImageGeneratorValue> > m_keepAlive;
+#endif
 };
 
 DEFINE_CSS_VALUE_TYPE_CASTS(CSSImageGeneratorValue, isImageGeneratorValue());