Commit 1486c652 authored by Peter Kasting's avatar Peter Kasting Committed by Commit Bot

Remove using directives ("using namespace x") from blink/renderer/core/loader/.

Bug: 82078
Change-Id: I5883996d3474f10898689defc6bdfd0932b332f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1866263
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: default avatarYutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707266}
parent cba85fbf
...@@ -52,8 +52,6 @@ ...@@ -52,8 +52,6 @@
namespace blink { namespace blink {
using namespace html_names;
static int64_t GenerateFormDataIdentifier() { static int64_t GenerateFormDataIdentifier() {
// Initialize to the current time to reduce the likelihood of generating // Initialize to the current time to reduce the likelihood of generating
// identifiers that overlap with those from past/future browser sessions. // identifiers that overlap with those from past/future browser sessions.
...@@ -183,16 +181,20 @@ FormSubmission* FormSubmission::Create(HTMLFormElement* form, ...@@ -183,16 +181,20 @@ FormSubmission* FormSubmission::Create(HTMLFormElement* form,
copied_attributes.CopyFrom(attributes); copied_attributes.CopyFrom(attributes);
if (submit_button) { if (submit_button) {
AtomicString attribute_value; AtomicString attribute_value;
if (!(attribute_value = submit_button->FastGetAttribute(kFormactionAttr)) if (!(attribute_value =
submit_button->FastGetAttribute(html_names::kFormactionAttr))
.IsNull()) .IsNull())
copied_attributes.ParseAction(attribute_value); copied_attributes.ParseAction(attribute_value);
if (!(attribute_value = submit_button->FastGetAttribute(kFormenctypeAttr)) if (!(attribute_value =
submit_button->FastGetAttribute(html_names::kFormenctypeAttr))
.IsNull()) .IsNull())
copied_attributes.UpdateEncodingType(attribute_value); copied_attributes.UpdateEncodingType(attribute_value);
if (!(attribute_value = submit_button->FastGetAttribute(kFormmethodAttr)) if (!(attribute_value =
submit_button->FastGetAttribute(html_names::kFormmethodAttr))
.IsNull()) .IsNull())
copied_attributes.UpdateMethodType(attribute_value); copied_attributes.UpdateMethodType(attribute_value);
if (!(attribute_value = submit_button->FastGetAttribute(kFormtargetAttr)) if (!(attribute_value =
submit_button->FastGetAttribute(html_names::kFormtargetAttr))
.IsNull()) .IsNull())
copied_attributes.SetTarget(attribute_value); copied_attributes.SetTarget(attribute_value);
} }
......
...@@ -123,8 +123,6 @@ ...@@ -123,8 +123,6 @@
namespace blink { namespace blink {
using namespace html_names;
bool IsBackForwardLoadType(WebFrameLoadType type) { bool IsBackForwardLoadType(WebFrameLoadType type) {
return type == WebFrameLoadType::kBackForward; return type == WebFrameLoadType::kBackForward;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment