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

Unified Diff: src/core/SkBitmapProcShader.cpp

Issue 2474973002: Remove dead code in SkBitmapProcLegacyShader::ContextSize (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Also fix SkOpSegment::nextChase Created 4 years, 1 month 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 | « no previous file | src/pathops/SkOpSegment.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkBitmapProcShader.cpp
diff --git a/src/core/SkBitmapProcShader.cpp b/src/core/SkBitmapProcShader.cpp
index e0d281b026fae38118acdaf958fff7f61f930a2c..e4309b67f42e8504d2d18bc4d130f9c30b0595d1 100644
--- a/src/core/SkBitmapProcShader.cpp
+++ b/src/core/SkBitmapProcShader.cpp
@@ -205,7 +205,6 @@ size_t SkBitmapProcLegacyShader::ContextSize(const ContextRec& rec, const SkImag
size_t size1 = sizeof(LinearPipelineContext) + sizeof(SkBitmapProcInfo);
size_t s = SkTMax(size0, size1);
return s;
- return SkTMax(size0, size1);
}
SkShader::Context* SkBitmapProcLegacyShader::MakeContext(const SkShader& shader,
« no previous file with comments | « no previous file | src/pathops/SkOpSegment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698