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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSRule.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2002, 2005, 2006, 2007, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2002, 2005, 2006, 2007, 2012 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 10 matching lines...) Expand all
21 21
22 #include "core/css/CSSRule.h" 22 #include "core/css/CSSRule.h"
23 23
24 #include "core/css/CSSStyleSheet.h" 24 #include "core/css/CSSStyleSheet.h"
25 #include "core/css/StyleRule.h" 25 #include "core/css/StyleRule.h"
26 #include "core/css/StyleSheetContents.h" 26 #include "core/css/StyleSheetContents.h"
27 #include "platform/NotImplemented.h" 27 #include "platform/NotImplemented.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 struct SameSizeAsCSSRule : public RefCountedWillBeGarbageCollectedFinalized<Same SizeAsCSSRule>, public ScriptWrappable { 31 struct SameSizeAsCSSRule : public GarbageCollectedFinalized<SameSizeAsCSSRule>, public ScriptWrappable {
32 virtual ~SameSizeAsCSSRule(); 32 virtual ~SameSizeAsCSSRule();
33 unsigned char bitfields; 33 unsigned char bitfields;
34 void* pointerUnion; 34 void* pointerUnion;
35 }; 35 };
36 36
37 static_assert(sizeof(CSSRule) == sizeof(SameSizeAsCSSRule), "CSSRule should stay small"); 37 static_assert(sizeof(CSSRule) == sizeof(SameSizeAsCSSRule), "CSSRule should stay small");
38 38
39 void CSSRule::setCSSText(const String&) 39 void CSSRule::setCSSText(const String&)
40 { 40 {
41 notImplemented(); 41 notImplemented();
(...skipping 12 matching lines...) Expand all
54 // pre-oilpan world, where the parent link is mysteriously zeroed under 54 // pre-oilpan world, where the parent link is mysteriously zeroed under
55 // some circumstances. 55 // some circumstances.
56 if (m_parentIsRule) 56 if (m_parentIsRule)
57 visitor->trace(m_parentRule); 57 visitor->trace(m_parentRule);
58 else 58 else
59 visitor->trace(m_parentStyleSheet); 59 visitor->trace(m_parentStyleSheet);
60 #endif 60 #endif
61 } 61 }
62 62
63 } // namespace blink 63 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698