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

Side by Side Diff: third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp

Issue 2774823002: Remove FrameHost class (Closed)
Patch Set: Rebase 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/dom/custom/CustomElementReactionStack.h" 5 #include "core/dom/custom/CustomElementReactionStack.h"
6 6
7 #include "bindings/core/v8/Microtask.h" 7 #include "bindings/core/v8/Microtask.h"
8 #include "core/dom/Element.h" 8 #include "core/dom/Element.h"
9 #include "core/dom/custom/CEReactionsScope.h" 9 #include "core/dom/custom/CEReactionsScope.h"
10 #include "core/dom/custom/CustomElementReactionQueue.h" 10 #include "core/dom/custom/CustomElementReactionQueue.h"
11 #include "core/frame/FrameHost.h"
12 11
13 namespace blink { 12 namespace blink {
14 13
15 namespace { 14 namespace {
16 15
17 Persistent<CustomElementReactionStack>& customElementReactionStack() { 16 Persistent<CustomElementReactionStack>& customElementReactionStack() {
18 DEFINE_STATIC_LOCAL(Persistent<CustomElementReactionStack>, 17 DEFINE_STATIC_LOCAL(Persistent<CustomElementReactionStack>,
19 customElementReactionStack, 18 customElementReactionStack,
20 (new CustomElementReactionStack)); 19 (new CustomElementReactionStack));
21 return customElementReactionStack; 20 return customElementReactionStack;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 CustomElementReactionStack* 120 CustomElementReactionStack*
122 CustomElementReactionStackTestSupport::setCurrentForTest( 121 CustomElementReactionStackTestSupport::setCurrentForTest(
123 CustomElementReactionStack* newStack) { 122 CustomElementReactionStack* newStack) {
124 Persistent<CustomElementReactionStack>& stack = customElementReactionStack(); 123 Persistent<CustomElementReactionStack>& stack = customElementReactionStack();
125 CustomElementReactionStack* oldStack = stack.get(); 124 CustomElementReactionStack* oldStack = stack.get();
126 stack = newStack; 125 stack = newStack;
127 return oldStack; 126 return oldStack;
128 } 127 }
129 128
130 } // namespace blink 129 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698