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

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

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 | « no previous file | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLImageElement.h
diff --git a/Source/core/html/HTMLImageElement.h b/Source/core/html/HTMLImageElement.h
index c7d62aa8c421ba7e0ec9366275b63388c4d17519..20c846e9776011b01a7b57f05cd0f5e88587b89a 100644
--- a/Source/core/html/HTMLImageElement.h
+++ b/Source/core/html/HTMLImageElement.h
@@ -123,7 +123,7 @@ private:
virtual void attach(const AttachContext& = AttachContext()) override;
virtual RenderObject* createRenderer(RenderStyle*) override;
- virtual bool canStartSelection() const override;
+ virtual bool canStartSelection() const override { return false; }
virtual bool isURLAttribute(const Attribute&) const override;
virtual bool hasLegalLinkAttribute(const QualifiedName&) const override;
« no previous file with comments | « no previous file | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698