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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: Rebasing the fixes... Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl
index 2f1fc578035e3504e31aaadef5564a9349624082..7d7c812e93f5d71ac70f81e705bfdcdb4cb4d241 100644
--- a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl
@@ -14,21 +14,21 @@ struct SameSizeAsComputedStyleBase {
// ensure that the buckets are placed so that each takes up at most 1 word.
ASSERT_SIZE(ComputedStyleBase, SameSizeAsComputedStyleBase);
-void ComputedStyleBase::inheritFrom(const ComputedStyleBase& inheritParent,
+void ComputedStyleBase::InheritFrom(const ComputedStyleBase& inheritParent,
IsAtShadowBoundary isAtShadowBoundary) {
{% for field in fields if field.is_property and field.is_inherited %}
{{field.name}} = inheritParent.{{field.name}};
{% endfor %}
}
-void ComputedStyleBase::copyNonInheritedFromCached(
+void ComputedStyleBase::CopyNonInheritedFromCached(
const ComputedStyleBase& other) {
{% for field in fields if (field.is_property and not field.is_inherited) or field.is_inherited_flag %}
{{field.name}} = other.{{field.name}};
{% endfor %}
}
-void ComputedStyleBase::propagateIndependentInheritedProperties(
+void ComputedStyleBase::PropagateIndependentInheritedProperties(
const ComputedStyleBase& parentStyle) {
{% for field in fields if field.is_property and field.is_independent %}
if ({{field.is_inherited_method_name}}())

Powered by Google App Engine
This is Rietveld 408576698