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

Side by Side Diff: Source/core/dom/StyledElement.cpp

Issue 20123003: [oilpan] The Node hierarchy should have correct accept method chains (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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 * 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 * (C) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2004, 2005, 2006, 2008, 2010 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2008, 2010 Apple Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 void StyledElement::addPropertyToPresentationAttributeStyle(Handle<MutableStyleP ropertySet> style, CSSPropertyID propertyID, double value, CSSPrimitiveValue::Un itTypes unit) 376 void StyledElement::addPropertyToPresentationAttributeStyle(Handle<MutableStyleP ropertySet> style, CSSPropertyID propertyID, double value, CSSPrimitiveValue::Un itTypes unit)
377 { 377 {
378 style->setProperty(propertyID, cssValuePool().createValue(value, unit)); 378 style->setProperty(propertyID, cssValuePool().createValue(value, unit));
379 } 379 }
380 380
381 void StyledElement::addPropertyToPresentationAttributeStyle(Handle<MutableStyleP ropertySet> style, CSSPropertyID propertyID, const String& value) 381 void StyledElement::addPropertyToPresentationAttributeStyle(Handle<MutableStyleP ropertySet> style, CSSPropertyID propertyID, const String& value)
382 { 382 {
383 style->setProperty(propertyID, value, false, document()->elementSheet()->con tents()); 383 style->setProperty(propertyID, value, false, document()->elementSheet()->con tents());
384 } 384 }
385 385
386 void StyledElement::acceptHeapVisitor(Visitor* visitor) const
387 {
388 Element::acceptHeapVisitor(visitor);
386 } 389 }
390
391 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698