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

Side by Side Diff: sky/engine/core/dom/shadow/ShadowRoot.cpp

Issue 771933002: Remove dead markup serialization code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « sky/engine/core/dom/Range.cpp ('k') | sky/engine/core/editing/CompositeEditCommand.cpp » ('j') | 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 18 matching lines...) Expand all
29 29
30 #include "sky/engine/bindings/core/v8/ExceptionState.h" 30 #include "sky/engine/bindings/core/v8/ExceptionState.h"
31 #include "sky/engine/core/css/StyleSheetList.h" 31 #include "sky/engine/core/css/StyleSheetList.h"
32 #include "sky/engine/core/css/resolver/StyleResolver.h" 32 #include "sky/engine/core/css/resolver/StyleResolver.h"
33 #include "sky/engine/core/dom/ElementTraversal.h" 33 #include "sky/engine/core/dom/ElementTraversal.h"
34 #include "sky/engine/core/dom/StyleEngine.h" 34 #include "sky/engine/core/dom/StyleEngine.h"
35 #include "sky/engine/core/dom/Text.h" 35 #include "sky/engine/core/dom/Text.h"
36 #include "sky/engine/core/dom/shadow/ElementShadow.h" 36 #include "sky/engine/core/dom/shadow/ElementShadow.h"
37 #include "sky/engine/core/dom/shadow/InsertionPoint.h" 37 #include "sky/engine/core/dom/shadow/InsertionPoint.h"
38 #include "sky/engine/core/dom/shadow/ShadowRootRareData.h" 38 #include "sky/engine/core/dom/shadow/ShadowRootRareData.h"
39 #include "sky/engine/core/editing/markup.h"
40 #include "sky/engine/public/platform/Platform.h" 39 #include "sky/engine/public/platform/Platform.h"
41 40
42 namespace blink { 41 namespace blink {
43 42
44 struct SameSizeAsShadowRoot : public DocumentFragment, public TreeScope { 43 struct SameSizeAsShadowRoot : public DocumentFragment, public TreeScope {
45 void* pointers[1]; 44 void* pointers[1];
46 unsigned countersAndFlags[1]; 45 unsigned countersAndFlags[1];
47 }; 46 };
48 47
49 COMPILE_ASSERT(sizeof(ShadowRoot) == sizeof(SameSizeAsShadowRoot), shadowroot_sh ould_stay_small); 48 COMPILE_ASSERT(sizeof(ShadowRoot) == sizeof(SameSizeAsShadowRoot), shadowroot_sh ould_stay_small);
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 237
239 StyleSheetList* ShadowRoot::styleSheets() 238 StyleSheetList* ShadowRoot::styleSheets()
240 { 239 {
241 if (!ensureShadowRootRareData()->styleSheets()) 240 if (!ensureShadowRootRareData()->styleSheets())
242 m_shadowRootRareData->setStyleSheets(StyleSheetList::create(this)); 241 m_shadowRootRareData->setStyleSheets(StyleSheetList::create(this));
243 242
244 return m_shadowRootRareData->styleSheets(); 243 return m_shadowRootRareData->styleSheets();
245 } 244 }
246 245
247 } 246 }
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Range.cpp ('k') | sky/engine/core/editing/CompositeEditCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698