tizen beta release
[framework/web/webkit-efl.git] / Source / WebKit / mac / Plugins / WebNetscapePluginView.mm
index 56f7915..68f56c0 100755 (executable)
@@ -1100,7 +1100,7 @@ static inline void getNPRect(const NSRect& nr, NPRect& npr)
 #ifndef BUILDING_ON_LEOPARD
                 // Since this layer isn't going to be inserted into a view, we need to create another layer and flip its geometry
                 // in order to get the coordinate system right.
-                RetainPtr<CALayer> realPluginLayer(AdoptNS, _pluginLayer.releaseRef());
+                RetainPtr<CALayer> realPluginLayer(AdoptNS, _pluginLayer.leakRef());
                 
                 _pluginLayer.adoptNS([[CALayer alloc] init]);
                 _pluginLayer.get().bounds = realPluginLayer.get().bounds;