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

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

Issue 1631993002: Cleaning up trailing spaces and typos. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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/GrTexture.cpp ('k') | src/gpu/GrTextureProvider.cpp » ('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 2014 Google Inc. 2 * Copyright 2014 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 GrTexturePriv_DEFINED 8 #ifndef GrTexturePriv_DEFINED
9 #define GrTexturePriv_DEFINED 9 #define GrTexturePriv_DEFINED
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 private: 55 private:
56 GrTexturePriv(GrTexture* texture) : fTexture(texture) { } 56 GrTexturePriv(GrTexture* texture) : fTexture(texture) { }
57 GrTexturePriv(const GrTexturePriv& that) : fTexture(that.fTexture) { } 57 GrTexturePriv(const GrTexturePriv& that) : fTexture(that.fTexture) { }
58 GrTexturePriv& operator=(const GrTexturePriv&); // unimpl 58 GrTexturePriv& operator=(const GrTexturePriv&); // unimpl
59 59
60 // No taking addresses of this type. 60 // No taking addresses of this type.
61 const GrTexturePriv* operator&() const; 61 const GrTexturePriv* operator&() const;
62 GrTexturePriv* operator&(); 62 GrTexturePriv* operator&();
63 63
64 GrTexture* fTexture; 64 GrTexture* fTexture;
65 65
66 friend class GrTexture; // to construct/copy this type. 66 friend class GrTexture; // to construct/copy this type.
67 }; 67 };
68 68
69 inline GrTexturePriv GrTexture::texturePriv() { return GrTexturePriv(this); } 69 inline GrTexturePriv GrTexture::texturePriv() { return GrTexturePriv(this); }
70 70
71 inline const GrTexturePriv GrTexture::texturePriv () const { 71 inline const GrTexturePriv GrTexture::texturePriv () const {
72 return GrTexturePriv(const_cast<GrTexture*>(this)); 72 return GrTexturePriv(const_cast<GrTexture*>(this));
73 } 73 }
74 74
75 #endif 75 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrTexture.cpp ('k') | src/gpu/GrTextureProvider.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698