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

Unified Diff: third_party/WebKit/Source/web/WebElement.cpp

Issue 2121313003: [Editing][DOM][CodeHealth] Make Node::isContentEditable and Node::isRichEditable global functions. (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/web/WebElement.cpp
diff --git a/third_party/WebKit/Source/web/WebElement.cpp b/third_party/WebKit/Source/web/WebElement.cpp
index 13db3d8135693da4bf561ccb4634207f0c270619..cbc2b52cf84c7a6505ca091e5f83805ba421c1b4 100644
--- a/third_party/WebKit/Source/web/WebElement.cpp
+++ b/third_party/WebKit/Source/web/WebElement.cpp
@@ -61,7 +61,7 @@ bool WebElement::isEditable() const
{
const Element* element = constUnwrap<Element>();
- if (element->isContentEditable())
+ if (blink::isContentEditable(*element))
return true;
if (element->isTextFormControl()) {

Powered by Google App Engine
This is Rietveld 408576698