Don't use pending activity notification in IntentRequest
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Jan 2012 22:38:19 +0000 (22:38 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Jan 2012 22:38:19 +0000 (22:38 +0000)
https://bugs.webkit.org/show_bug.cgi?id=76302

Patch by Greg Billock <gbillock@google.com> on 2012-01-13
Reviewed by Adam Barth.

* Modules/intents/IntentRequest.cpp:
(WebCore::IntentRequest::IntentRequest):
(WebCore::IntentRequest::postResult):
(WebCore::IntentRequest::postFailure):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104991 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/Modules/intents/IntentRequest.cpp

index 10f92bf..d4cf156 100644 (file)
@@ -1,3 +1,15 @@
+2012-01-13  Greg Billock  <gbillock@google.com>
+
+        Don't use pending activity notification in IntentRequest
+        https://bugs.webkit.org/show_bug.cgi?id=76302
+
+        Reviewed by Adam Barth.
+
+        * Modules/intents/IntentRequest.cpp:
+        (WebCore::IntentRequest::IntentRequest):
+        (WebCore::IntentRequest::postResult):
+        (WebCore::IntentRequest::postFailure):
+
 2012-01-13  Raymond Toy  <rtoy@google.com>
 
         EQUALPOWER panner incorrectly computes gain
index eeca4af..296f3dd 100644 (file)
@@ -53,7 +53,6 @@ IntentRequest::IntentRequest(ScriptExecutionContext* context,
     , m_successCallback(successCallback)
     , m_errorCallback(errorCallback)
 {
-    setPendingActivity(this);
 }
 
 void IntentRequest::contextDestroyed()
@@ -81,7 +80,6 @@ void IntentRequest::postResult(SerializedScriptValue* data)
 
     m_successCallback.clear();
     m_errorCallback.clear();
-    unsetPendingActivity(this);
 }
 
 void IntentRequest::postFailure(SerializedScriptValue* data)
@@ -96,7 +94,6 @@ void IntentRequest::postFailure(SerializedScriptValue* data)
 
     m_successCallback.clear();
     m_errorCallback.clear();
-    unsetPendingActivity(this);
 }
 
 } // namespace WebCore