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

Side by Side Diff: third_party/WebKit/Source/platform/image-encoders/ImageEncoder.h

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium 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 #ifndef ImageEncoder_h 5 #ifndef ImageEncoder_h
6 #define ImageEncoder_h 6 #define ImageEncoder_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/wtf/Vector.h" 9 #include "platform/wtf/Vector.h"
10 #include "third_party/skia/include/core/SkStream.h" 10 #include "third_party/skia/include/core/SkStream.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 static SkWebpEncoder::Options ComputeWebpOptions( 79 static SkWebpEncoder::Options ComputeWebpOptions(
80 double quality, 80 double quality,
81 SkTransferFunctionBehavior unpremulBehavior); 81 SkTransferFunctionBehavior unpremulBehavior);
82 82
83 private: 83 private:
84 ImageEncoder(Vector<unsigned char>* dst) : dst_(dst) {} 84 ImageEncoder(Vector<unsigned char>* dst) : dst_(dst) {}
85 85
86 VectorWStream dst_; 86 VectorWStream dst_;
87 std::unique_ptr<SkEncoder> encoder_; 87 std::unique_ptr<SkEncoder> encoder_;
88 }; 88 };
89 }; 89 }; // namespace blink
90 90
91 #endif 91 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698