2009-01-30 Darin Adler <darin@apple.com>
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 31 Jan 2009 02:31:26 +0000 (02:31 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 31 Jan 2009 02:31:26 +0000 (02:31 +0000)
        * page/Frame.cpp:
        (WebCore::Frame::createView): Fix debug build by removing get() from assert.

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

WebCore/ChangeLog
WebCore/page/Frame.cpp

index d9b834c..d053ce0 100644 (file)
@@ -1,3 +1,8 @@
+2009-01-30  Darin Adler  <darin@apple.com>
+
+        * page/Frame.cpp:
+        (WebCore::Frame::createView): Fix debug build by removing get() from assert.
+
 2009-01-30  Holger Hans Peter Freyther  <zecke@selfish.org>
 
         Reviewed by Simon Hausmann.
index 907b92c..6d97c93 100644 (file)
@@ -1855,7 +1855,7 @@ void Frame::createView(const IntSize& viewportSize,
                        ScrollbarMode horizontalScrollbarMode, ScrollbarMode verticalScrollbarMode)
 {
     ASSERT(this);
-    ASSERT(m_page.get());
+    ASSERT(m_page);
 
     bool isMainFrame = this == m_page->mainFrame();