Changeset 107305 in webkit
- Timestamp:
- Feb 9, 2012, 4:31:12 PM (15 years ago)
- Location:
- branches/subpixellayout/Source/WebCore
- Files:
-
- 5 edited
-
fileapi/BlobURL.cpp (modified) (3 diffs)
-
fileapi/BlobURL.h (modified) (1 diff)
-
page/Frame.cpp (modified) (1 diff)
-
page/FrameView.h (modified) (2 diffs)
-
page/mac/FrameMac.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/subpixellayout/Source/WebCore/fileapi/BlobURL.cpp
r105563 r107305 40 40 namespace WebCore { 41 41 42 static const char blobProtocol[] = "blob";42 const char BlobURL::kBlobProtocol[] = "blob"; 43 43 44 44 KURL BlobURL::createPublicURL(SecurityOrigin* securityOrigin) … … 55 55 String BlobURL::getIdentifier(const KURL& url) 56 56 { 57 ASSERT(url.protocolIs( blobProtocol));57 ASSERT(url.protocolIs(kBlobProtocol)); 58 58 59 59 unsigned startIndex = url.pathAfterLastSlash(); … … 66 66 if (originString == "null") 67 67 return KURL(); 68 String urlString = blobProtocol;68 String urlString = kBlobProtocol; 69 69 urlString += ":"; 70 70 urlString += encodeWithURLEscapeSequences(originString); -
branches/subpixellayout/Source/WebCore/fileapi/BlobURL.h
r105563 r107305 52 52 static KURL createInternalURL(); 53 53 static String getIdentifier(const KURL&); 54 static const char* blobProtocol() { return kBlobProtocol; } 54 55 55 56 private: 56 57 static KURL createBlobURL(const String& originString); 58 static const char kBlobProtocol[]; 57 59 BlobURL() { } 58 60 }; -
branches/subpixellayout/Source/WebCore/page/Frame.cpp
r106970 r107305 904 904 if (!m_view) 905 905 return IntRect(); 906 return IntRect(IntPoint(), expandedIntSize(m_view->contentsSize()));906 return IntRect(IntPoint(), m_view->contentsSize()); 907 907 } 908 908 -
branches/subpixellayout/Source/WebCore/page/FrameView.h
r107142 r107305 307 307 bool isTrackingRepaints() const { return m_isTrackingRepaints; } 308 308 void resetTrackedRepaints() { m_trackedRepaintRects.clear(); } 309 const Vector< FixedRect>& trackedRepaintRects() const { return m_trackedRepaintRects; }309 const Vector<LayoutRect>& trackedRepaintRects() const { return m_trackedRepaintRects; } 310 310 311 311 typedef HashSet<ScrollableArea*> ScrollableAreaSet; … … 465 465 466 466 bool m_isTrackingRepaints; // Used for testing. 467 Vector< FixedRect> m_trackedRepaintRects;467 Vector<LayoutRect> m_trackedRepaintRects; 468 468 469 469 bool m_shouldUpdateWhileOffscreen; -
branches/subpixellayout/Source/WebCore/page/mac/FrameMac.mm
r107163 r107305 81 81 graphicsContext.save(); 82 82 graphicsContext.translate(-rect.origin.x, -rect.origin.y); 83 m_view->paintContents(&graphicsContext, enclosingIntRect(rect));83 m_view->paintContents(&graphicsContext, IntRect(rect)); 84 84 graphicsContext.restore(); 85 85
Note:
See TracChangeset
for help on using the changeset viewer.