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

Unified Diff: include/gpu/GrCaps.h

Issue 1153813002: Remove init from GrGLContextInfo and caps classes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: cleanup Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/effects/gradients/SkSweepGradient.cpp » ('j') | src/effects/gradients/SkSweepGradient.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrCaps.h
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index 3381bd36b4e0ba8dc123e5cc9d36123413935518..580017a9fe40283d80ee6f5bee6a7c9398dc8496 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -52,16 +52,8 @@ public:
int fBits;
};
- GrShaderCaps() {
- this->reset();
- }
- virtual ~GrShaderCaps() {}
- GrShaderCaps(const GrShaderCaps& other) : INHERITED() {
- *this = other;
- }
- GrShaderCaps& operator= (const GrShaderCaps&);
+ GrShaderCaps();
- virtual void reset();
virtual SkString dump() const;
bool shaderDerivativeSupport() const { return fShaderDerivativeSupport; }
@@ -111,17 +103,8 @@ class GrCaps : public SkRefCnt {
public:
SK_DECLARE_INST_COUNT(GrCaps)
- GrCaps() {
- fShaderCaps.reset(NULL);
- this->reset();
- }
- GrCaps(const GrCaps& other) : INHERITED() {
- *this = other;
- }
- virtual ~GrCaps() {}
- GrCaps& operator= (const GrCaps&);
+ GrCaps();
- virtual void reset();
virtual SkString dump() const;
GrShaderCaps* shaderCaps() const { return fShaderCaps; }
« no previous file with comments | « no previous file | src/effects/gradients/SkSweepGradient.cpp » ('j') | src/effects/gradients/SkSweepGradient.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698