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

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

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: 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 /* 1 /*
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
4 * rights reserved. 4 * rights reserved.
5 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. 5 * Copyright (C) 2011 Research In Motion Limited. 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 void AbstractPropertySetCSSStyleDeclaration::setProperty( 238 void AbstractPropertySetCSSStyleDeclaration::setProperty(
239 const String& property_name, 239 const String& property_name,
240 const String& value, 240 const String& value,
241 const String& priority, 241 const String& priority,
242 ExceptionState& exception_state) { 242 ExceptionState& exception_state) {
243 CSSPropertyID property_id = unresolvedCSSPropertyID(property_name); 243 CSSPropertyID property_id = unresolvedCSSPropertyID(property_name);
244 if (!property_id) 244 if (!property_id)
245 return; 245 return;
246 246
247 bool important = EqualIgnoringCase(priority, "important"); 247 bool important = DeprecatedEqualIgnoringCase(priority, "important");
248 if (!important && !priority.IsEmpty()) 248 if (!important && !priority.IsEmpty())
249 return; 249 return;
250 250
251 SetPropertyInternal(property_id, property_name, value, important, 251 SetPropertyInternal(property_id, property_name, value, important,
252 exception_state); 252 exception_state);
253 } 253 }
254 254
255 String AbstractPropertySetCSSStyleDeclaration::removeProperty( 255 String AbstractPropertySetCSSStyleDeclaration::removeProperty(
256 const String& property_name, 256 const String& property_name,
257 ExceptionState& exception_state) { 257 ExceptionState& exception_state) {
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 return parent_element_ ? parent_element_->GetDocument().GetPropertyRegistry() 422 return parent_element_ ? parent_element_->GetDocument().GetPropertyRegistry()
423 : nullptr; 423 : nullptr;
424 } 424 }
425 425
426 DEFINE_TRACE(InlineCSSStyleDeclaration) { 426 DEFINE_TRACE(InlineCSSStyleDeclaration) {
427 visitor->Trace(parent_element_); 427 visitor->Trace(parent_element_);
428 AbstractPropertySetCSSStyleDeclaration::Trace(visitor); 428 AbstractPropertySetCSSStyleDeclaration::Trace(visitor);
429 } 429 }
430 430
431 } // namespace blink 431 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698