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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaRemotingElements.cpp

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/html/shadow/MediaRemotingElements.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaRemotingElements.cpp b/third_party/WebKit/Source/core/html/shadow/MediaRemotingElements.cpp
index c53bc9d89a9bc70e4e54f558e73914a91e81f0cd..c41916dfe2f2326e7ab58dce246461a8b9370b0f 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaRemotingElements.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/MediaRemotingElements.cpp
@@ -4,9 +4,9 @@
#include "core/html/shadow/MediaRemotingElements.h"
-#include "core/dom/ClientRect.h"
#include "core/dom/shadow/ShadowRoot.h"
#include "core/events/MouseEvent.h"
+#include "core/geometry/DOMRect.h"
#include "core/html/HTMLVideoElement.h"
#include "core/input/EventHandler.h"
#include "platform/text/PlatformLocale.h"
@@ -38,7 +38,7 @@ class MediaRemotingExitButtonElement::MouseEventsListener final
DCHECK_EQ(event->type(), EventTypeNames::click);
MouseEvent* mouse_event = ToMouseEvent(event);
- ClientRect* client_rect = element_->getBoundingClientRect();
+ DOMRect* client_rect = element_->getBoundingClientRect();
const double x = mouse_event->x();
const double y = mouse_event->y();
if (x < client_rect->left() || x > client_rect->right() ||
« no previous file with comments | « third_party/WebKit/Source/core/geometry/DOMRect.cpp ('k') | third_party/WebKit/Source/core/html/track/vtt/VTTRegion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698