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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutVideo.cpp

Issue 2197653002: CL for perf try job on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/layout/LayoutVideo.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutVideo.cpp b/third_party/WebKit/Source/core/layout/LayoutVideo.cpp
index d30914821ac69accefce3cd00151db7df0e37f04..7d9fe82d2aea986559a4d2a413ca11c08fc776ad 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 Element* parent) const
+LayoutUnit LayoutVideo::offsetLeft() const
{
if (const LayoutBlock* block = layoutObjectPlaceholder(this))
- return block->offsetLeft(parent);
- return LayoutMedia::offsetLeft(parent);
+ return block->offsetLeft();
+ return LayoutMedia::offsetLeft();
}
-LayoutUnit LayoutVideo::offsetTop(const Element* parent) const
+LayoutUnit LayoutVideo::offsetTop() const
{
if (const LayoutBlock* block = layoutObjectPlaceholder(this))
- return block->offsetTop(parent);
- return LayoutMedia::offsetTop(parent);
+ return block->offsetTop();
+ return LayoutMedia::offsetTop();
}
LayoutUnit LayoutVideo::offsetWidth() const
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutVideo.h ('k') | third_party/WebKit/Source/core/page/PrintContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698