Title: [140757] trunk/Source/WebCore
Revision
140757
Author
[email protected]
Date
2013-01-24 17:28:31 -0800 (Thu, 24 Jan 2013)

Log Message

Unreviewed build fix.

* bindings/js/JSHistoryCustom.cpp:
(WebCore::JSHistory::state):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (140756 => 140757)


--- trunk/Source/WebCore/ChangeLog	2013-01-25 01:26:23 UTC (rev 140756)
+++ trunk/Source/WebCore/ChangeLog	2013-01-25 01:28:31 UTC (rev 140757)
@@ -1,3 +1,10 @@
+2013-01-24  Kentaro Hara  <[email protected]>
+
+        Unreviewed build fix.
+
+        * bindings/js/JSHistoryCustom.cpp:
+        (WebCore::JSHistory::state):
+
 2013-01-24  Julien Brianceau  <[email protected]>
 
         NPN_InitializeVariantWithStringCopy is wrong for platforms returning NULL from malloc(0)

Modified: trunk/Source/WebCore/bindings/js/JSHistoryCustom.cpp (140756 => 140757)


--- trunk/Source/WebCore/bindings/js/JSHistoryCustom.cpp	2013-01-25 01:26:23 UTC (rev 140756)
+++ trunk/Source/WebCore/bindings/js/JSHistoryCustom.cpp	2013-01-25 01:28:31 UTC (rev 140757)
@@ -181,7 +181,7 @@
     if (!cachedValue.isEmpty() && !history->stateChanged())
         return cachedValue;
 
-    SerializedScriptValue* serialized = history->state();
+    RefPtr<SerializedScriptValue> serialized = history->state();
     JSValue result = serialized ? serialized->deserialize(exec, globalObject(), 0) : jsNull();
     const_cast<JSHistory*>(this)->m_state.set(exec->globalData(), this, result);
     return result;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to