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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp

Issue 1675163002: Rename ComposedTree to FlatTree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wip Created 4 years, 10 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
Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
index 8e54e3136ffbf7f2a92207ef35be3c183e98a22c..3defaf5d34cb8192754a53731e0589d5766952f6 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
@@ -29,7 +29,7 @@
#include "core/animation/AnimationTimeline.h"
#include "core/dom/NodeTraversal.h"
-#include "core/dom/shadow/ComposedTreeTraversal.h"
+#include "core/dom/shadow/FlatTreeTraversal.h"
#include "core/frame/FrameView.h"
#include "core/frame/LocalFrame.h"
#include "core/frame/Settings.h"
@@ -110,7 +110,7 @@ bool SVGImage::currentFrameHasSingleSecurityOrigin() const
// Don't allow foreignObject elements or images that are not known to be
// single-origin since these can leak cross-origin information.
- for (Node* node = rootElement; node; node = ComposedTreeTraversal::next(*node)) {
+ for (Node* node = rootElement; node; node = FlatTreeTraversal::next(*node)) {
if (isSVGForeignObjectElement(*node))
return false;
if (isSVGImageElement(*node)) {

Powered by Google App Engine
This is Rietveld 408576698