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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2834813002: Remove unneeded variable in Document::SetFocusedElement() (Closed)
Patch Set: Created 3 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index a289edaa1ac1bf3457005f872c137db1c0c054f4..5cc2ca861616b0ea91c70695a15fc6b06b8203ff 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -4032,14 +4032,12 @@ void Document::SetAnnotatedRegions(
SetAnnotatedRegionsDirty(false);
}
-bool Document::SetFocusedElement(Element* prp_new_focused_element,
+bool Document::SetFocusedElement(Element* new_focused_element,
const FocusParams& params) {
DCHECK(!lifecycle_.InDetach());
clear_focused_element_timer_.Stop();
- Element* new_focused_element = prp_new_focused_element;
-
// Make sure newFocusedNode is actually in this document
if (new_focused_element && (new_focused_element->GetDocument() != this))
return true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698