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

Unified Diff: src/sksl/ir/SkSLFloatLiteral.h

Issue 2131223002: SkSL performance improvements (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: went back to pointers on global types Created 4 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 side-by-side diff with in-line comments
Download patch
Index: src/sksl/ir/SkSLFloatLiteral.h
diff --git a/src/sksl/ir/SkSLFloatLiteral.h b/src/sksl/ir/SkSLFloatLiteral.h
index deb5b2714418ff343bebff362b095d5747665afa..8f5ec43299543976969ed037caeb337a600b4b4c 100644
--- a/src/sksl/ir/SkSLFloatLiteral.h
+++ b/src/sksl/ir/SkSLFloatLiteral.h
@@ -17,7 +17,7 @@ namespace SkSL {
*/
struct FloatLiteral : public Expression {
FloatLiteral(Position position, double value)
- : INHERITED(position, kFloatLiteral_Kind, kFloat_Type)
+ : INHERITED(position, kFloatLiteral_Kind, *kFloat_Type)
, fValue(value) {}
virtual std::string description() const override {

Powered by Google App Engine
This is Rietveld 408576698