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

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

Issue 2305893002: Fix svg contentrect location (Closed)
Patch Set: forgot to fix c++ tests Created 4 years, 3 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/observer/ResizeObserverEntry.h
diff --git a/third_party/WebKit/Source/core/observer/ResizeObserverEntry.h b/third_party/WebKit/Source/core/observer/ResizeObserverEntry.h
index 3eb3f65e4a9e6588c60ed5ed049694d475adea8f..f94b61b7358921467619fbbd366a7c493eb03efa 100644
--- a/third_party/WebKit/Source/core/observer/ResizeObserverEntry.h
+++ b/third_party/WebKit/Source/core/observer/ResizeObserverEntry.h
@@ -12,18 +12,18 @@ namespace blink {
class Element;
class ClientRect;
+class LayoutRect;
class LayoutSize;
class ResizeObserverEntry final : public GarbageCollected<ResizeObserverEntry>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- explicit ResizeObserverEntry(Element* target);
+ ResizeObserverEntry(Element* target, const LayoutRect& contentRect);
Element* target() const { return m_target; }
// FIXME(atotic): should return DOMRectReadOnly once https://crbug.com/388780 lands
ClientRect* contentRect() const { return m_contentRect; }
- LayoutSize contentSize() const;
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698