2011-04-27 Adam Barth <abarth@webkit.org>
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Apr 2011 06:16:46 +0000 (06:16 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Apr 2011 06:16:46 +0000 (06:16 +0000)
        Two build fixes from the future.  (Trivial strict OwnPtr fixes.)

        * page/Frame.cpp:
        (WebCore::Frame::setTiledBackingStoreEnabled):
        * platform/audio/ReverbConvolver.cpp:
        (WebCore::ReverbConvolver::ReverbConvolver):

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

Source/WebCore/ChangeLog
Source/WebCore/page/Frame.cpp
Source/WebCore/platform/audio/ReverbConvolver.cpp

index 6c03a98..db59088 100644 (file)
@@ -1,5 +1,14 @@
 2011-04-27  Adam Barth  <abarth@webkit.org>
 
+        Two build fixes from the future.  (Trivial strict OwnPtr fixes.)
+
+        * page/Frame.cpp:
+        (WebCore::Frame::setTiledBackingStoreEnabled):
+        * platform/audio/ReverbConvolver.cpp:
+        (WebCore::ReverbConvolver::ReverbConvolver):
+
+2011-04-27  Adam Barth  <abarth@webkit.org>
+
         Reviewed by David Levin.
 
         Fix five strict PassOwnPtr violations in WebCore
index 887d1c2..85173d2 100644 (file)
@@ -916,7 +916,7 @@ void Frame::setTiledBackingStoreEnabled(bool enabled)
     }
     if (m_tiledBackingStore)
         return;
-    m_tiledBackingStore.set(new TiledBackingStore(this));
+    m_tiledBackingStore = adoptPtr(new TiledBackingStore(this));
     if (m_view)
         m_view->setPaintsEntireContents(true);
 }
index 120c9f2..bbb5508 100644 (file)
@@ -102,7 +102,7 @@ ReverbConvolver::ReverbConvolver(AudioChannel* impulseResponse, size_t renderSli
         // This "staggers" the time when each FFT happens so they don't all happen at the same time
         int renderPhase = convolverRenderPhase + i * renderSliceSize;
 
-        OwnPtr<ReverbConvolverStage> stage(new ReverbConvolverStage(response, totalResponseLength, reverbTotalLatency, stageOffset, stageSize, fftSize, renderPhase, renderSliceSize, &m_accumulationBuffer));
+        OwnPtr<ReverbConvolverStage> stage = adoptPtr(new ReverbConvolverStage(response, totalResponseLength, reverbTotalLatency, stageOffset, stageSize, fftSize, renderPhase, renderSliceSize, &m_accumulationBuffer));
 
         bool isBackgroundStage = false;