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

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

Issue 204373003: Oilpan: Change references to MutableStylePropertySet to transition types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
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 r ights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. 4 * Copyright (C) 2011 Research In Motion Limited. 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 clonedValue = internalValue->cloneForCSSOM(); 289 clonedValue = internalValue->cloneForCSSOM();
290 return clonedValue.get(); 290 return clonedValue.get();
291 } 291 }
292 292
293 StyleSheetContents* AbstractPropertySetCSSStyleDeclaration::contextStyleSheet() const 293 StyleSheetContents* AbstractPropertySetCSSStyleDeclaration::contextStyleSheet() const
294 { 294 {
295 CSSStyleSheet* cssStyleSheet = parentStyleSheet(); 295 CSSStyleSheet* cssStyleSheet = parentStyleSheet();
296 return cssStyleSheet ? cssStyleSheet->contents() : 0; 296 return cssStyleSheet ? cssStyleSheet->contents() : 0;
297 } 297 }
298 298
299 PassRefPtr<MutableStylePropertySet> AbstractPropertySetCSSStyleDeclaration::copy Properties() const 299 PassRefPtrWillBeRawPtr<MutableStylePropertySet> AbstractPropertySetCSSStyleDecla ration::copyProperties() const
300 { 300 {
301 return propertySet().mutableCopy(); 301 return propertySet().mutableCopy();
302 } 302 }
303 303
304 bool AbstractPropertySetCSSStyleDeclaration::cssPropertyMatches(CSSPropertyID pr opertyID, const CSSValue* propertyValue) const 304 bool AbstractPropertySetCSSStyleDeclaration::cssPropertyMatches(CSSPropertyID pr opertyID, const CSSValue* propertyValue) const
305 { 305 {
306 return propertySet().propertyMatches(propertyID, propertyValue); 306 return propertySet().propertyMatches(propertyID, propertyValue);
307 } 307 }
308 308
309 StyleRuleCSSStyleDeclaration::StyleRuleCSSStyleDeclaration(MutableStylePropertyS et& propertySetArg, CSSRule* parentRule) 309 StyleRuleCSSStyleDeclaration::StyleRuleCSSStyleDeclaration(MutableStylePropertyS et& propertySetArg, CSSRule* parentRule)
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 { 389 {
390 m_parentElement->ref(); 390 m_parentElement->ref();
391 } 391 }
392 392
393 void InlineCSSStyleDeclaration::deref() 393 void InlineCSSStyleDeclaration::deref()
394 { 394 {
395 m_parentElement->deref(); 395 m_parentElement->deref();
396 } 396 }
397 397
398 } // namespace WebCore 398 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698