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

Unified Diff: third_party/WebKit/Source/web/WebNode.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/WebNode.cpp
diff --git a/third_party/WebKit/Source/web/WebNode.cpp b/third_party/WebKit/Source/web/WebNode.cpp
index 60933dfc3e5d55f999bb1e8090c34c458e73dc68..44ef00b9510a6df7a0e1842dbddacded138e83aa 100644
--- a/third_party/WebKit/Source/web/WebNode.cpp
+++ b/third_party/WebKit/Source/web/WebNode.cpp
@@ -171,7 +171,7 @@ bool WebNode::isFocusable() const
bool WebNode::isContentEditable() const
tkent 2016/07/21 08:28:44 I found this function was not used and we should r
yoichio 2016/07/21 08:36:33 Acknowledged.
tkent 2016/07/25 01:54:16 I was wrong. It's used only for Android. RenderW
{
- return m_private->isContentEditable();
+ return blink::isContentEditable(*m_private);
}
bool WebNode::isInsideFocusableElementOrARIAWidget() const

Powered by Google App Engine
This is Rietveld 408576698