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

Side by Side Diff: content/browser/renderer_host/pepper/pepper_truetype_font_win.cc

Issue 1445003002: Use std::default_delete as the default deleter for scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: How many trial and errors before this builds on the Windows bots Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "content/browser/renderer_host/pepper/pepper_truetype_font.h" 5 #include "content/browser/renderer_host/pepper/pepper_truetype_font.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <algorithm>
8 #include <set> 9 #include <set>
9 10
10 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
12 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
13 #include "base/sys_byteorder.h" 14 #include "base/sys_byteorder.h"
14 #include "base/win/scoped_gdi_object.h" 15 #include "base/win/scoped_gdi_object.h"
15 #include "base/win/scoped_hdc.h" 16 #include "base/win/scoped_hdc.h"
16 #include "base/win/scoped_select_object.h" 17 #include "base/win/scoped_select_object.h"
17 #include "ppapi/c/dev/ppb_truetype_font_dev.h" 18 #include "ppapi/c/dev/ppb_truetype_font_dev.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 } 228 }
228 229
229 } // namespace 230 } // namespace
230 231
231 // static 232 // static
232 PepperTrueTypeFont* PepperTrueTypeFont::Create() { 233 PepperTrueTypeFont* PepperTrueTypeFont::Create() {
233 return new PepperTrueTypeFontWin(); 234 return new PepperTrueTypeFontWin();
234 } 235 }
235 236
236 } // namespace content 237 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host.cc ('k') | content/browser/service_worker/service_worker_process_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698