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

Unified Diff: Source/core/html/HTMLImageElement.cpp

Issue 858533002: Simplify HTMLImageElement::canStartSelection() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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
« no previous file with comments | « Source/core/html/HTMLImageElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLImageElement.cpp
diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp
index 4d5fb5094182a20915711a2962c1199c7a09192c..9fe4683b2cd77ddaf3d6ae919f8266e20487b5a9 100644
--- a/Source/core/html/HTMLImageElement.cpp
+++ b/Source/core/html/HTMLImageElement.cpp
@@ -346,14 +346,6 @@ RenderObject* HTMLImageElement::createRenderer(RenderStyle* style)
return image;
}
-bool HTMLImageElement::canStartSelection() const
-{
- if (shadow())
- return HTMLElement::canStartSelection();
-
- return false;
-}
-
void HTMLImageElement::attach(const AttachContext& context)
{
HTMLElement::attach(context);
« no previous file with comments | « Source/core/html/HTMLImageElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698