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

Side by Side Diff: core/fxge/skia/fx_skia_device.cpp

Issue 2413983004: Move fxge/android to if(is_android) on build (Closed)
Patch Set: Comments Created 4 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 unified diff | Download patch
« no previous file with comments | « core/fxge/android/fpf_skiafontmgr.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if defined(_SKIA_SUPPORT_)
6 #include <algorithm> 5 #include <algorithm>
7 #include <vector> 6 #include <vector>
8 7
9 #include "core/fxcodec/fx_codec.h" 8 #include "core/fxcodec/fx_codec.h"
10 #include "core/fxcrt/fx_memory.h" 9 #include "core/fxcrt/fx_memory.h"
11 10
12 #include "core/fpdfapi/page/cpdf_shadingpattern.h" 11 #include "core/fpdfapi/page/cpdf_shadingpattern.h"
13 #include "core/fpdfapi/page/pageint.h" 12 #include "core/fpdfapi/page/pageint.h"
14 #include "core/fpdfapi/parser/cpdf_array.h" 13 #include "core/fpdfapi/parser/cpdf_array.h"
15 #include "core/fpdfapi/parser/cpdf_dictionary.h" 14 #include "core/fpdfapi/parser/cpdf_dictionary.h"
(...skipping 1654 matching lines...) Expand 10 before | Expand all | Expand 10 after
1670 uint8_t g = SkGetPackedG32(srcRow[x]); 1669 uint8_t g = SkGetPackedG32(srcRow[x]);
1671 uint8_t b = SkGetPackedB32(srcRow[x]); 1670 uint8_t b = SkGetPackedB32(srcRow[x]);
1672 SkA32Assert(a); 1671 SkA32Assert(a);
1673 SkASSERT(r <= a); 1672 SkASSERT(r <= a);
1674 SkASSERT(g <= a); 1673 SkASSERT(g <= a);
1675 SkASSERT(b <= a); 1674 SkASSERT(b <= a);
1676 } 1675 }
1677 } 1676 }
1678 #endif 1677 #endif
1679 } 1678 }
1680
1681 #endif
OLDNEW
« no previous file with comments | « core/fxge/android/fpf_skiafontmgr.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698