Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: third_party/WebKit/Source/core/dom/ResizeObserverEntry.h

Issue 2869803003: Change from ClientRect to DOMRect.
Patch Set: Change from ClientRect to DOMRect. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/ResizeObserverEntry.h
diff --git a/third_party/WebKit/Source/core/dom/ResizeObserverEntry.h b/third_party/WebKit/Source/core/dom/ResizeObserverEntry.h
index af71db16623bc4a3ec155e3275e27395bcf599c9..38f78330e437420fdb0166451f0f2477e0e6876e 100644
--- a/third_party/WebKit/Source/core/dom/ResizeObserverEntry.h
+++ b/third_party/WebKit/Source/core/dom/ResizeObserverEntry.h
@@ -11,7 +11,7 @@
namespace blink {
class Element;
-class ClientRect;
+class DOMRect;
class LayoutRect;
class ResizeObserverEntry final : public GarbageCollected<ResizeObserverEntry>,
@@ -24,13 +24,13 @@ class ResizeObserverEntry final : public GarbageCollected<ResizeObserverEntry>,
Element* target() const { return target_; }
// FIXME(atotic): should return DOMRectReadOnly once https://crbug.com/388780
// lands
- ClientRect* contentRect() const { return content_rect_; }
+ DOMRect* contentRect() const { return content_rect_; }
DECLARE_VIRTUAL_TRACE();
private:
Member<Element> target_;
- Member<ClientRect> content_rect_;
+ Member<DOMRect> content_rect_;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/Range.idl ('k') | third_party/WebKit/Source/core/dom/ResizeObserverEntry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698