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

Side by Side Diff: src/utils/win/SkIStream.cpp

Issue 2041943002: SkLeanWindows.h: #include "Windows.h" fewer places (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-06-07 (Tuesday) 11:28:42 EDT Created 4 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
« no previous file with comments | « src/utils/win/SkAutoCoInitialize.cpp ('k') | src/utils/win/SkWGL.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "SkTypes.h" 8 #include "SkTypes.h"
9 #if defined(SK_BUILD_FOR_WIN32) 9 #if defined(SK_BUILD_FOR_WIN32)
10 10
11 #define WIN32_LEAN_AND_MEAN
12 #include <windows.h>
13 #include <ole2.h>
14 #include "SkIStream.h" 11 #include "SkIStream.h"
15 #include "SkStream.h" 12 #include "SkStream.h"
16 13
17 /** 14 /**
18 * SkBaseIStream 15 * SkBaseIStream
19 */ 16 */
20 SkBaseIStream::SkBaseIStream() : _refcount(1) { } 17 SkBaseIStream::SkBaseIStream() : _refcount(1) { }
21 SkBaseIStream::~SkBaseIStream() { } 18 SkBaseIStream::~SkBaseIStream() { }
22 19
23 HRESULT STDMETHODCALLTYPE SkBaseIStream::QueryInterface(REFIID iid 20 HRESULT STDMETHODCALLTYPE SkBaseIStream::QueryInterface(REFIID iid
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 return STG_E_INVALIDFLAG; 267 return STG_E_INVALIDFLAG;
271 } 268 }
272 pStatstg->pwcsName = nullptr; 269 pStatstg->pwcsName = nullptr;
273 pStatstg->cbSize.QuadPart = 0; 270 pStatstg->cbSize.QuadPart = 0;
274 pStatstg->clsid = CLSID_NULL; 271 pStatstg->clsid = CLSID_NULL;
275 pStatstg->type = STGTY_STREAM; 272 pStatstg->type = STGTY_STREAM;
276 pStatstg->grfMode = STGM_WRITE; 273 pStatstg->grfMode = STGM_WRITE;
277 return S_OK; 274 return S_OK;
278 } 275 }
279 #endif//defined(SK_BUILD_FOR_WIN32) 276 #endif//defined(SK_BUILD_FOR_WIN32)
OLDNEW
« no previous file with comments | « src/utils/win/SkAutoCoInitialize.cpp ('k') | src/utils/win/SkWGL.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698