Changeset 95307 in webkit
- Timestamp:
- Sep 16, 2011 11:32:01 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r95306 r95307 1 2011-09-16 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r95227. 4 http://trac.webkit.org/changeset/95227 5 https://bugs.webkit.org/show_bug.cgi?id=68262 6 7 Broke a bunch of SVG tests (Requested by andersca on #webkit). 8 9 * platform/ScrollView.cpp: 10 (WebCore::ScrollView::contentsSize): 11 (WebCore::ScrollView::wheelEvent): 12 * platform/ScrollView.h: 13 * platform/mac/ScrollViewMac.mm: 14 (WebCore::ScrollView::platformContentsSize): 15 * platform/wx/ScrollViewWx.cpp: 16 (WebCore::ScrollView::platformContentsSize): 17 1 18 2011-09-16 James Simonsen <simonjam@chromium.org> 2 19 -
trunk/Source/WebCore/platform/ScrollView.cpp
r95227 r95307 281 281 IntSize ScrollView::contentsSize() const 282 282 { 283 if (platformWidget()) 284 return platformContentsSize(); 283 285 return m_contentsSize; 284 286 } … … 1325 1327 } 1326 1328 1329 IntSize ScrollView::platformContentsSize() const 1330 { 1331 return IntSize(); 1332 } 1333 1327 1334 void ScrollView::platformSetContentsSize() 1328 1335 { -
trunk/Source/WebCore/platform/ScrollView.h
r95227 r95307 385 385 bool platformCanBlitOnScroll() const; 386 386 IntRect platformVisibleContentRect(bool includeScrollbars) const; 387 IntSize platformContentsSize() const; 387 388 void platformSetContentsSize(); 388 389 IntRect platformContentsToScreen(const IntRect&) const; -
trunk/Source/WebCore/platform/mac/ScrollViewMac.mm
r95227 r95307 118 118 } 119 119 120 IntSize ScrollView::platformContentsSize() const 121 { 122 BEGIN_BLOCK_OBJC_EXCEPTIONS; 123 if (NSView* documentView = this->documentView()) 124 return enclosingIntRect([documentView bounds]).size(); 125 END_BLOCK_OBJC_EXCEPTIONS; 126 return IntSize(); 127 } 128 120 129 void ScrollView::platformSetContentsSize() 121 130 { -
trunk/Source/WebCore/platform/wx/ScrollViewWx.cpp
r95227 r95307 166 166 } 167 167 168 IntSize ScrollView::platformContentsSize() const 169 { 170 int width = 0; 171 int height = 0; 172 if (platformWidget()) { 173 platformWidget()->GetVirtualSize(&width, &height); 174 ASSERT(width >= 0 && height >= 0); 175 } 176 return IntSize(width, height); 177 } 178 168 179 void ScrollView::platformSetScrollPosition(const IntPoint& scrollPoint) 169 180 {
Note: See TracChangeset
for help on using the changeset viewer.