Missing m_notificationPresenter initialization in WorkerThread constructor
authoryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Oct 2011 07:15:15 +0000 (07:15 +0000)
committeryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Oct 2011 07:15:15 +0000 (07:15 +0000)
https://bugs.webkit.org/show_bug.cgi?id=69741

Added missing m_notificationPresenter(0)

Reviewed by Pavel Feldman.

* workers/WorkerThread.cpp:
(WebCore::WorkerThread::WorkerThread):

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

Source/WebCore/ChangeLog
Source/WebCore/workers/WorkerThread.cpp

index 58a987a..45cbe4c 100644 (file)
@@ -1,3 +1,15 @@
+2011-10-09  Yury Semikhatsky  <yurys@chromium.org>
+
+        Missing m_notificationPresenter initialization in WorkerThread constructor
+        https://bugs.webkit.org/show_bug.cgi?id=69741
+
+        Added missing m_notificationPresenter(0)
+
+        Reviewed by Pavel Feldman.
+
+        * workers/WorkerThread.cpp:
+        (WebCore::WorkerThread::WorkerThread):
+
 2011-10-09  Daniel Bates  <dbates@webkit.org>
 
         Another attempt to fix the Leopard Intel Debug build after changeset 97034 <http://trac.webkit.org/changeset/97034>
index 709ad60..b7f18ea 100644 (file)
@@ -88,6 +88,9 @@ WorkerThread::WorkerThread(const KURL& scriptURL, const String& userAgent, const
     , m_workerLoaderProxy(workerLoaderProxy)
     , m_workerReportingProxy(workerReportingProxy)
     , m_startupData(WorkerThreadStartupData::create(scriptURL, userAgent, sourceCode))
+#if ENABLE(NOTIFICATIONS)
+    , m_notificationPresenter(0)
+#endif
 {
     MutexLocker lock(threadCountMutex());
     m_threadCount++;