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

Unified Diff: Source/core/dom/ChildFrameDisconnector.cpp

Issue 340813002: Fix typo checkConnectedSubf(r)ameCountIsConsistent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: Source/core/dom/ChildFrameDisconnector.cpp
diff --git a/Source/core/dom/ChildFrameDisconnector.cpp b/Source/core/dom/ChildFrameDisconnector.cpp
index 0f8639a0275605245899c0f086552191ed9dc3f5..9eb4d75a276616192098c9d2bd831789913363e5 100644
--- a/Source/core/dom/ChildFrameDisconnector.cpp
+++ b/Source/core/dom/ChildFrameDisconnector.cpp
@@ -12,13 +12,13 @@
namespace WebCore {
#ifndef NDEBUG
-static unsigned checkConnectedSubrameCountIsConsistent(Node&);
+static unsigned checkConnectedSubframeCountIsConsistent(Node&);
#endif
void ChildFrameDisconnector::disconnect(DisconnectPolicy policy)
{
#ifndef NDEBUG
- checkConnectedSubrameCountIsConsistent(m_root);
+ checkConnectedSubframeCountIsConsistent(m_root);
#endif
if (!m_root.connectedSubframeCount())
@@ -72,7 +72,7 @@ void ChildFrameDisconnector::collectFrameOwners(ElementShadow& shadow)
}
#ifndef NDEBUG
-static unsigned checkConnectedSubrameCountIsConsistent(Node& node)
+static unsigned checkConnectedSubframeCountIsConsistent(Node& node)
{
unsigned count = 0;
@@ -82,12 +82,12 @@ static unsigned checkConnectedSubrameCountIsConsistent(Node& node)
if (ElementShadow* shadow = toElement(node).shadow()) {
for (ShadowRoot* root = shadow->youngestShadowRoot(); root; root = root->olderShadowRoot())
- count += checkConnectedSubrameCountIsConsistent(*root);
+ count += checkConnectedSubframeCountIsConsistent(*root);
}
}
for (Node* child = node.firstChild(); child; child = child->nextSibling())
- count += checkConnectedSubrameCountIsConsistent(*child);
+ count += checkConnectedSubframeCountIsConsistent(*child);
// If we undercount there's possibly a security bug since we'd leave frames
// in subtrees outside the document.
« 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