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

Side by Side Diff: src/gpu/GrRenderTargetPriv.h

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/gpu/GrRenderTarget.cpp ('k') | src/gpu/GrResourceCache.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 2015 Google Inc. 2 * Copyright 2015 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 #ifndef GrRenderTargetPriv_DEFINED 8 #ifndef GrRenderTargetPriv_DEFINED
9 #define GrRenderTargetPriv_DEFINED 9 #define GrRenderTargetPriv_DEFINED
10 10
(...skipping 24 matching lines...) Expand all
35 private: 35 private:
36 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(re nderTarget) {} 36 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(re nderTarget) {}
37 GrRenderTargetPriv(const GrRenderTargetPriv&) {} // unimpl 37 GrRenderTargetPriv(const GrRenderTargetPriv&) {} // unimpl
38 GrRenderTargetPriv& operator=(const GrRenderTargetPriv&); // unimpl 38 GrRenderTargetPriv& operator=(const GrRenderTargetPriv&); // unimpl
39 39
40 // No taking addresses of this type. 40 // No taking addresses of this type.
41 const GrRenderTargetPriv* operator&() const; 41 const GrRenderTargetPriv* operator&() const;
42 GrRenderTargetPriv* operator&(); 42 GrRenderTargetPriv* operator&();
43 43
44 GrRenderTarget* fRenderTarget; 44 GrRenderTarget* fRenderTarget;
45 45
46 friend class GrRenderTarget; // to construct/copy this type. 46 friend class GrRenderTarget; // to construct/copy this type.
47 }; 47 };
48 48
49 inline GrRenderTargetPriv GrRenderTarget::renderTargetPriv() { return GrRenderTa rgetPriv(this); } 49 inline GrRenderTargetPriv GrRenderTarget::renderTargetPriv() { return GrRenderTa rgetPriv(this); }
50 50
51 inline const GrRenderTargetPriv GrRenderTarget::renderTargetPriv () const { 51 inline const GrRenderTargetPriv GrRenderTarget::renderTargetPriv () const {
52 return GrRenderTargetPriv(const_cast<GrRenderTarget*>(this)); 52 return GrRenderTargetPriv(const_cast<GrRenderTarget*>(this));
53 } 53 }
54 54
55 #endif 55 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrRenderTarget.cpp ('k') | src/gpu/GrResourceCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698