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

Unified Diff: Source/core/editing/Editor.cpp

Issue 74693003: Editing: Minor cleanup/Removal of redundant function call (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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: Source/core/editing/Editor.cpp
diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp
index 549ba04398b4f2033e020a1f1543fb5a6ea937ba..dcffb795a523d86fae204919f7d1cad995496891 100644
--- a/Source/core/editing/Editor.cpp
+++ b/Source/core/editing/Editor.cpp
@@ -626,8 +626,6 @@ Node* Editor::findEventTargetFrom(const VisibleSelection& selection) const
Node* target = selection.start().element();
if (!target)
target = m_frame.document()->body();
- if (!target)
- return 0;
return target;
}

Powered by Google App Engine
This is Rietveld 408576698