Windows (and others?) build fix
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Aug 2008 13:34:01 +0000 (13:34 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Aug 2008 13:34:01 +0000 (13:34 +0000)
        * page/Chrome.cpp: Added a missing #include.
        (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer): Fixed typo.

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

WebCore/ChangeLog
WebCore/page/Chrome.cpp

index e4c1d95..ae78fef 100644 (file)
@@ -1,3 +1,10 @@
+2008-08-28  Adam Roben  <aroben@apple.com>
+
+        Windows (and others?) build fix
+
+        * page/Chrome.cpp: Added a missing #include.
+        (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer): Fixed typo.
+
 2008-08-27  Eric Seidel  <eric@webkit.org>
 
         Reviewed by Oliver Hunt.
index c93a9cb..e33fb27 100644 (file)
@@ -33,6 +33,7 @@
 #include "PageGroup.h"
 #include "PausedTimeouts.h"
 #include "ResourceHandle.h"
+#include "ScriptController.h"
 #include "SecurityOrigin.h"
 #include "Settings.h"
 #include "WindowFeatures.h"
@@ -430,7 +431,7 @@ PageGroupLoadDeferrer::PageGroupLoadDeferrer(Page* page, bool deferSelf)
                 OwnPtr<PausedTimeouts> timeouts;
                 frame->script()->pauseTimeouts(timeouts);
                 if (timeouts)
-                    m_pausedTimeouts.append(make_pair(RefPtr<Frame>(frame), timeouts.take()));
+                    m_pausedTimeouts.append(make_pair(RefPtr<Frame>(frame), timeouts.release()));
             }
 #endif
         }