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

Side by Side Diff: chrome/browser/renderer_host/backing_store_win.cc

Issue 19486: Lint cleanup. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "chrome/browser/renderer_host/backing_store.h" 5 #include "chrome/browser/renderer_host/backing_store.h"
6 6
7 #include "base/gfx/gdi_util.h" 7 #include "base/gfx/gdi_util.h"
8 #include "chrome/browser/renderer_host/render_widget_host.h" 8 #include "chrome/browser/renderer_host/render_widget_host.h"
9 #include "chrome/common/win_util.h" 9 #include "chrome/common/win_util.h"
10 10
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 gfx::CreateBitmapHeaderWithColorDepth(width, height, color_depth, &hdr); 113 gfx::CreateBitmapHeaderWithColorDepth(width, height, color_depth, &hdr);
114 } else { 114 } else {
115 gfx::CreateBitmapHeader(width, height, &hdr); 115 gfx::CreateBitmapHeader(width, height, &hdr);
116 } 116 }
117 void* data = NULL; 117 void* data = NULL;
118 HANDLE dib = 118 HANDLE dib =
119 CreateDIBSection(hdc_, reinterpret_cast<BITMAPINFO*>(&hdr), 119 CreateDIBSection(hdc_, reinterpret_cast<BITMAPINFO*>(&hdr),
120 0, &data, section, 0); 120 0, &data, section, 0);
121 return dib; 121 return dib;
122 } 122 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698