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

Unified Diff: Source/web/WebPasswordFormData.cpp

Issue 23819007: Have Node::document() return a reference instead of a pointer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 4 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 | « Source/web/WebPageSerializer.cpp ('k') | Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPasswordFormData.cpp
diff --git a/Source/web/WebPasswordFormData.cpp b/Source/web/WebPasswordFormData.cpp
index c3aba9ae1ff85e59869caa238204a44a8e0ecb28..5583dfc1dfff49f6923cd5fe61e3ead66a8ab69c 100644
--- a/Source/web/WebPasswordFormData.cpp
+++ b/Source/web/WebPasswordFormData.cpp
@@ -157,13 +157,13 @@ WebPasswordFormData::WebPasswordFormData(const WebFormElement& webForm)
findPasswordFormFields(form.get(), &fields);
// Get the document URL
- KURL fullOrigin(ParsedURLString, form->document()->documentURI());
+ KURL fullOrigin(ParsedURLString, form->document().documentURI());
// Calculate the canonical action URL
String action = form->action();
if (action.isNull())
action = ""; // missing 'action' attribute implies current URL
- KURL fullAction = form->document()->completeURL(action);
+ KURL fullAction = form->document().completeURL(action);
if (!fullAction.isValid())
return;
« no previous file with comments | « Source/web/WebPageSerializer.cpp ('k') | Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698