Index: third_party/WebKit/Source/core/layout/LayoutVideo.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutVideo.cpp b/third_party/WebKit/Source/core/layout/LayoutVideo.cpp |
index 7d9fe82d2aea986559a4d2a413ca11c08fc776ad..d30914821ac69accefce3cd00151db7df0e37f04 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutVideo.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutVideo.cpp |
@@ -210,18 +210,18 @@ static const LayoutBlock* layoutObjectPlaceholder(const LayoutObject* layoutObje |
return fullScreen->placeholder(); |
} |
-LayoutUnit LayoutVideo::offsetLeft() const |
+LayoutUnit LayoutVideo::offsetLeft(const Element* parent) const |
{ |
if (const LayoutBlock* block = layoutObjectPlaceholder(this)) |
- return block->offsetLeft(); |
- return LayoutMedia::offsetLeft(); |
+ return block->offsetLeft(parent); |
+ return LayoutMedia::offsetLeft(parent); |
} |
-LayoutUnit LayoutVideo::offsetTop() const |
+LayoutUnit LayoutVideo::offsetTop(const Element* parent) const |
{ |
if (const LayoutBlock* block = layoutObjectPlaceholder(this)) |
- return block->offsetTop(); |
- return LayoutMedia::offsetTop(); |
+ return block->offsetTop(parent); |
+ return LayoutMedia::offsetTop(parent); |
} |
LayoutUnit LayoutVideo::offsetWidth() const |