Title: [107437] branches/subpixellayout/Source
- Revision
- 107437
- Author
- [email protected]
- Date
- 2012-02-10 13:52:45 -0800 (Fri, 10 Feb 2012)
Log Message
Remove unnecessary type conversions.
Modified Paths
Diff
Modified: branches/subpixellayout/Source/WebCore/page/FrameView.h (107436 => 107437)
--- branches/subpixellayout/Source/WebCore/page/FrameView.h 2012-02-10 21:43:22 UTC (rev 107436)
+++ branches/subpixellayout/Source/WebCore/page/FrameView.h 2012-02-10 21:52:45 UTC (rev 107437)
@@ -306,7 +306,7 @@
void setTracksRepaints(bool);
bool isTrackingRepaints() const { return m_isTrackingRepaints; }
void resetTrackedRepaints() { m_trackedRepaintRects.clear(); }
- const Vector<LayoutRect>& trackedRepaintRects() const { return m_trackedRepaintRects; }
+ const Vector<IntRect>& trackedRepaintRects() const { return m_trackedRepaintRects; }
typedef HashSet<ScrollableArea*> ScrollableAreaSet;
void addScrollableArea(ScrollableArea*);
@@ -464,7 +464,7 @@
double m_lastPaintTime;
bool m_isTrackingRepaints; // Used for testing.
- Vector<LayoutRect> m_trackedRepaintRects;
+ Vector<IntRect> m_trackedRepaintRects;
bool m_shouldUpdateWhileOffscreen;
Modified: branches/subpixellayout/Source/WebKit/mac/WebView/WebView.mm (107436 => 107437)
--- branches/subpixellayout/Source/WebKit/mac/WebView/WebView.mm 2012-02-10 21:43:22 UTC (rev 107436)
+++ branches/subpixellayout/Source/WebKit/mac/WebView/WebView.mm 2012-02-10 21:52:45 UTC (rev 107437)
@@ -2483,7 +2483,7 @@
if (!view || !view->isTrackingRepaints())
return nil;
- const Vector<WebCore::FixedRect>& repaintRects = view->trackedRepaintRects();
+ const Vector<IntRect>& repaintRects = view->trackedRepaintRects();
NSMutableArray* rectsArray = [[NSMutableArray alloc] initWithCapacity:repaintRects.size()];
for (unsigned i = 0; i < repaintRects.size(); ++i)
Modified: branches/subpixellayout/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (107436 => 107437)
--- branches/subpixellayout/Source/WebKit2/WebProcess/WebPage/WebPage.cpp 2012-02-10 21:43:22 UTC (rev 107436)
+++ branches/subpixellayout/Source/WebKit2/WebProcess/WebPage/WebPage.cpp 2012-02-10 21:52:45 UTC (rev 107437)
@@ -521,7 +521,7 @@
if (!view)
return ImmutableArray::create();
- const Vector<WebCore::FixedRect>& rects = view->trackedRepaintRects();
+ const Vector<IntRect>& rects = view->trackedRepaintRects();
size_t size = rects.size();
if (!size)
return ImmutableArray::create();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes