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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLLinkElement.h

Issue 2258033002: Replace ASSERT()s with DCHECK*() in core/html/*.{cpp,h}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace ASSERT()s with DCHECK*() in core/html/*.{cpp,h}. Created 4 years, 4 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 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2008, 2010 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2008, 2010 Apple Inc. All rights reserved.
5 * Copyright (C) 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2011 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 }; 104 };
105 105
106 void clearSheet(); 106 void clearSheet();
107 void addPendingSheet(PendingSheetType); 107 void addPendingSheet(PendingSheetType);
108 void removePendingSheet(); 108 void removePendingSheet();
109 Document& document(); 109 Document& document();
110 110
111 void setCrossOriginStylesheetStatus(CSSStyleSheet*); 111 void setCrossOriginStylesheetStatus(CSSStyleSheet*);
112 void setFetchFollowingCORS() 112 void setFetchFollowingCORS()
113 { 113 {
114 ASSERT(!m_fetchFollowingCORS); 114 DCHECK(!m_fetchFollowingCORS);
115 m_fetchFollowingCORS = true; 115 m_fetchFollowingCORS = true;
116 } 116 }
117 void clearFetchFollowingCORS() 117 void clearFetchFollowingCORS()
118 { 118 {
119 m_fetchFollowingCORS = false; 119 m_fetchFollowingCORS = false;
120 } 120 }
121 121
122 Member<CSSStyleSheet> m_sheet; 122 Member<CSSStyleSheet> m_sheet;
123 DisabledState m_disabledState; 123 DisabledState m_disabledState;
124 PendingSheetType m_pendingSheetType; 124 PendingSheetType m_pendingSheetType;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 Member<RelList> m_relList; 228 Member<RelList> m_relList;
229 LinkRelAttribute m_relAttribute; 229 LinkRelAttribute m_relAttribute;
230 String m_scope; 230 String m_scope;
231 231
232 bool m_createdByParser; 232 bool m_createdByParser;
233 }; 233 };
234 234
235 } // namespace blink 235 } // namespace blink
236 236
237 #endif // HTMLLinkElement_h 237 #endif // HTMLLinkElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLIElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLLinkElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698