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

Side by Side Diff: third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp

Issue 1925043002: Clean up ShadowRootRareData, ShadowRoot and SlotAssignment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed Created 4 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 void HTMLImportChild::didFinish() 77 void HTMLImportChild::didFinish()
78 { 78 {
79 if (m_client) 79 if (m_client)
80 m_client->didFinish(); 80 m_client->didFinish();
81 } 81 }
82 82
83 void HTMLImportChild::didFinishLoading() 83 void HTMLImportChild::didFinishLoading()
84 { 84 {
85 stateWillChange(); 85 stateWillChange();
86 if (document() && document()->styleSheets()->length() > 0) 86 if (document() && document()->styleSheets().length() > 0)
87 UseCounter::count(root()->document(), UseCounter::HTMLImportsHasStyleShe ets); 87 UseCounter::count(root()->document(), UseCounter::HTMLImportsHasStyleShe ets);
88 V0CustomElement::didFinishLoadingImport(*(root()->document())); 88 V0CustomElement::didFinishLoadingImport(*(root()->document()));
89 } 89 }
90 90
91 void HTMLImportChild::didFinishUpgradingCustomElements() 91 void HTMLImportChild::didFinishUpgradingCustomElements()
92 { 92 {
93 stateWillChange(); 93 stateWillChange();
94 m_customElementMicrotaskStep.clear(); 94 m_customElementMicrotaskStep.clear();
95 } 95 }
96 96
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 208
209 DEFINE_TRACE(HTMLImportChild) 209 DEFINE_TRACE(HTMLImportChild)
210 { 210 {
211 visitor->trace(m_customElementMicrotaskStep); 211 visitor->trace(m_customElementMicrotaskStep);
212 visitor->trace(m_loader); 212 visitor->trace(m_loader);
213 visitor->trace(m_client); 213 visitor->trace(m_client);
214 HTMLImport::trace(visitor); 214 HTMLImport::trace(visitor);
215 } 215 }
216 216
217 } // namespace blink 217 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698