OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef UNICODE | 8 #ifndef UNICODE |
9 #define UNICODE | 9 #define UNICODE |
10 #endif | 10 #endif |
(...skipping 2435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2446 CLSID_XpsOMObjectFactory, | 2446 CLSID_XpsOMObjectFactory, |
2447 NULL, | 2447 NULL, |
2448 CLSCTX_INPROC_SERVER, | 2448 CLSCTX_INPROC_SERVER, |
2449 IID_PPV_ARGS(&this->fXpsFactory)), | 2449 IID_PPV_ARGS(&this->fXpsFactory)), |
2450 "Could not create factory for layer."); | 2450 "Could not create factory for layer."); |
2451 | 2451 |
2452 HRVM(this->fXpsFactory->CreateCanvas(&this->fCurrentXpsCanvas), | 2452 HRVM(this->fXpsFactory->CreateCanvas(&this->fCurrentXpsCanvas), |
2453 "Could not create canvas for layer."); | 2453 "Could not create canvas for layer."); |
2454 } | 2454 } |
2455 | 2455 |
2456 bool SkXPSDevice::allowImageFilter(SkImageFilter*) { | 2456 bool SkXPSDevice::allowImageFilter(const SkImageFilter*) { |
2457 return false; | 2457 return false; |
2458 } | 2458 } |
OLD | NEW |