Changeset 99778 in webkit
- Timestamp:
- Nov 9, 2011, 3:59:21 PM (15 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/WebCore.exp.in (modified) (1 diff)
-
WebCore/dom/Element.cpp (modified) (2 diffs)
-
WebCore/dom/Element.h (modified) (1 diff)
-
WebKit2/ChangeLog (modified) (1 diff)
-
WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r99776 r99778 1 2011-11-09 Anders Carlsson <andersca@apple.com> 2 3 Element::boundsInWindowSpace should be Element::boundsInRootViewSpace 4 https://bugs.webkit.org/show_bug.cgi?id=71955 5 6 Reviewed by Sam Weinig. 7 8 Element::boundsInWindowSpace is only used by WebKit2, where the window coordinate space is the 9 same as the root view coordinate space. This lets us get rid of another use of contentsToWindow. 10 11 * WebCore.exp.in: 12 * dom/Element.cpp: 13 (WebCore::Element::boundsInRootViewSpace): 14 * dom/Element.h: 15 1 16 2011-11-09 Kentaro Hara <haraken@chromium.org> 2 17 -
trunk/Source/WebCore/WebCore.exp.in
r99754 r99778 882 882 __ZN7WebCore7Element16ensureShadowRootEv 883 883 __ZN7WebCore7Element16removeShadowRootEv 884 __ZN7WebCore7Element 19boundsInWindowSpaceEv884 __ZN7WebCore7Element21boundsInRootViewSpaceEv 885 885 __ZN7WebCore7Element9innerTextEv 886 886 __ZN7WebCore7IntRect5scaleEf -
trunk/Source/WebCore/dom/Element.cpp
r99338 r99778 471 471 } 472 472 473 LayoutRect Element::boundsIn WindowSpace()473 LayoutRect Element::boundsInRootViewSpace() 474 474 { 475 475 document()->updateLayoutIgnorePendingStylesheets(); … … 502 502 result.unite(quads[i].enclosingBoundingBox()); 503 503 504 result = view->contentsTo Window(result);504 result = view->contentsToRootView(result); 505 505 return result; 506 506 } -
trunk/Source/WebCore/dom/Element.h
r97670 r99778 170 170 virtual int scrollHeight(); 171 171 172 // Note that the 'window space' has a flipped coordinate system on some platforms. 173 LayoutRect boundsInWindowSpace(); 172 LayoutRect boundsInRootViewSpace(); 174 173 175 174 PassRefPtr<ClientRectList> getClientRects(); -
trunk/Source/WebKit2/ChangeLog
r99769 r99778 1 2011-11-09 Anders Carlsson <andersca@apple.com> 2 3 Element::boundsInWindowSpace should be Element::boundsInRootViewSpace 4 https://bugs.webkit.org/show_bug.cgi?id=71955 5 6 Reviewed by Sam Weinig. 7 8 * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp: 9 (WebKit::InjectedBundleNodeHandle::elementBounds): 10 Call Element::boundsInRootViewSpace. 11 1 12 2011-11-09 Alexis Menard <alexis.menard@openbossa.org> 2 13 -
trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp
r95901 r99778 110 110 return IntRect(); 111 111 112 return static_cast<Element*>(m_node.get())->boundsIn WindowSpace();112 return static_cast<Element*>(m_node.get())->boundsInRootViewSpace(); 113 113 } 114 114
Note:
See TracChangeset
for help on using the changeset viewer.