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

Unified Diff: third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp

Issue 1668553003: Fix server-side image map click location with "Open link in new tab" Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: appendServerMapMousePosition function made static Created 4 years, 10 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/HTMLAnchorElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
index 3dbdcc3b805aec85c27bd3f8d23406510af8f5d2..3e343bc3aa1f9d5d2d7ba6d33ac3bc433735accd 100644
--- a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
@@ -107,7 +107,7 @@ bool HTMLAnchorElement::isKeyboardFocusable() const
return HTMLElement::isKeyboardFocusable();
}
-static void appendServerMapMousePosition(StringBuilder& url, Event* event)
+void HTMLAnchorElement::appendServerMapMousePosition(StringBuilder& url, Event* event)
tkent 2016/02/05 02:05:47 The |event| argument should be |const Event*| or |
JakeYoon 2016/02/05 04:04:49 Could you explain to me the reason that argument s
tkent 2016/02/05 06:00:45 It ensures the Event object is not modified in the
JakeYoon 2016/02/05 07:28:34 Okay I change params type, |*| to |const *|
{
if (!event->isMouseEvent())
return;

Powered by Google App Engine
This is Rietveld 408576698