parent
bcf9692901
commit
92bd8d8d23
@ -1,12 +0,0 @@
|
|||||||
diff -up chromium-61.0.3163.79/cc/paint/BUILD.gn.epel7 chromium-61.0.3163.79/cc/paint/BUILD.gn
|
|
||||||
--- chromium-61.0.3163.79/cc/paint/BUILD.gn.epel7 2017-09-13 13:21:07.743006338 -0400
|
|
||||||
+++ chromium-61.0.3163.79/cc/paint/BUILD.gn 2017-09-13 13:25:43.091933209 -0400
|
|
||||||
@@ -41,6 +41,8 @@ cc_component("paint") {
|
|
||||||
"solid_color_analyzer.h",
|
|
||||||
]
|
|
||||||
|
|
||||||
+ cflags = [ "-fpermissive" ]
|
|
||||||
+
|
|
||||||
defines = [ "CC_PAINT_IMPLEMENTATION=1" ]
|
|
||||||
|
|
||||||
# cc/paint is intended to be a separate component from cc that can be
|
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -up chromium-61.0.3163.79/cc/paint/paint_op_buffer.cc.kmaxskip chromium-61.0.3163.79/cc/paint/paint_op_buffer.cc
|
||||||
|
--- chromium-61.0.3163.79/cc/paint/paint_op_buffer.cc.kmaxskip 2017-09-14 09:28:18.594875170 -0400
|
||||||
|
+++ chromium-61.0.3163.79/cc/paint/paint_op_buffer.cc 2017-09-14 09:29:37.266072373 -0400
|
||||||
|
@@ -207,7 +207,7 @@ TYPES(M);
|
||||||
|
#undef TYPES
|
||||||
|
|
||||||
|
SkRect PaintOp::kUnsetRect = {SK_ScalarInfinity, 0, 0, 0};
|
||||||
|
-const size_t PaintOp::kMaxSkip;
|
||||||
|
+constexpr size_t PaintOp::kMaxSkip;
|
||||||
|
|
||||||
|
std::string PaintOpTypeToString(PaintOpType type) {
|
||||||
|
switch (type) {
|
Loading…
Reference in new issue