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

Side by Side Diff: third_party/WebKit/public/platform/WebFont.h

Issue 2143323002: Remove WebPrivateOwnPtr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 5 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 WebFont_h 5 #ifndef WebFont_h
6 #define WebFont_h 6 #define WebFont_h
7 7
8 #include "WebCanvas.h" 8 #include "WebCanvas.h"
9 #include "WebColor.h" 9 #include "WebColor.h"
10 #include "WebCommon.h" 10 #include "WebCommon.h"
11 #include "WebPrivateOwnPtr.h" 11 #include <memory>
12 12
13 namespace blink { 13 namespace blink {
14 14
15 struct WebFloatPoint; 15 struct WebFloatPoint;
16 struct WebFloatRect; 16 struct WebFloatRect;
17 struct WebFontDescription; 17 struct WebFontDescription;
18 struct WebRect; 18 struct WebRect;
19 struct WebTextRun; 19 struct WebTextRun;
20 20
21 class WebFont { 21 class WebFont {
(...skipping 16 matching lines...) Expand all
38 const WebTextRun&, 38 const WebTextRun&,
39 const WebFloatPoint& leftBaseline, 39 const WebFloatPoint& leftBaseline,
40 int height, 40 int height,
41 int from = 0, 41 int from = 0,
42 int to = -1) const; 42 int to = -1) const;
43 43
44 private: 44 private:
45 explicit WebFont(const WebFontDescription&); 45 explicit WebFont(const WebFontDescription&);
46 46
47 class Impl; 47 class Impl;
48 WebPrivateOwnPtr<Impl> m_private; 48 std::unique_ptr<Impl> m_private;
49 }; 49 };
50 50
51 } // namespace blink 51 } // namespace blink
52 52
53 #endif 53 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebBlobData.h ('k') | third_party/WebKit/public/platform/WebLayerTreeView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698