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

Unified Diff: Source/core/rendering/style/CachedUAStyle.h

Issue 639963005: Remove CachedUAStyle::hasAppearance. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/rendering/RenderTheme.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/CachedUAStyle.h
diff --git a/Source/core/rendering/style/CachedUAStyle.h b/Source/core/rendering/style/CachedUAStyle.h
index 610e095aa9e571c66568709b72ca65b410183dd8..df8c4eb8d97944775e1d0315b12e08f2f59e9408 100644
--- a/Source/core/rendering/style/CachedUAStyle.h
+++ b/Source/core/rendering/style/CachedUAStyle.h
@@ -37,19 +37,16 @@ public:
return adoptPtr(new CachedUAStyle(style));
}
- bool hasAppearance;
BorderData border;
FillLayer backgroundLayers;
StyleColor backgroundColor;
private:
explicit CachedUAStyle(const RenderStyle* style)
- : hasAppearance(true)
- , border(style->border())
+ : border(style->border())
, backgroundLayers(style->backgroundLayers())
, backgroundColor(style->backgroundColor())
{
- ASSERT(style->hasAppearance());
}
};
« no previous file with comments | « Source/core/rendering/RenderTheme.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698