Bug 79301 - [chromium] Move WebGraphicsContext3D header into the Platform directory
Summary: [chromium] Move WebGraphicsContext3D header into the Platform directory
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: James Robinson
URL:
Keywords:
Depends on: 79296
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-22 16:34 PST by James Robinson
Modified: 2012-02-24 14:38 PST (History)
5 users (show)

See Also:


Attachments
Patch (55.21 KB, patch)
2012-02-22 16:35 PST, James Robinson
no flags Details | Formatted Diff | Diff
Patch (55.47 KB, patch)
2012-02-24 12:31 PST, James Robinson
abarth: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Robinson 2012-02-22 16:34:41 PST
[chromium] Move WebGraphicsContext3D header into the Platform directory
Comment 1 James Robinson 2012-02-22 16:35:52 PST
Created attachment 128329 [details]
Patch
Comment 2 James Robinson 2012-02-24 12:31:40 PST
Created attachment 128783 [details]
Patch
Comment 3 James Robinson 2012-02-24 12:32:44 PST
$ git diff master:Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h Source/Platform/chromium/public/WebGraphicsContext3D.h
diff --git a/Source/Platform/chromium/public/WebGraphicsContext3D.h b/Source/Platform/chromium/public/WebGraphicsContext3D.h
index 3b21164..2f804d5 100644
--- a/Source/Platform/chromium/public/WebGraphicsContext3D.h
+++ b/Source/Platform/chromium/public/WebGraphicsContext3D.h
@@ -136,7 +136,7 @@ public:
     };
 
     // This destructor needs to be public so that using classes can destroy instances if initialization fails.
-    virtual ~WebGraphicsContext3D() {}
+    virtual ~WebGraphicsContext3D() { }
 
     // Makes the OpenGL context current on the current thread. Returns true on
     // success.
@@ -378,7 +378,7 @@ public:
     virtual void deleteShader(WebGLId) = 0;
     virtual void deleteTexture(WebGLId) = 0;
 
-    virtual void setContextLostCallback(WebGraphicsContextLostCallback* callback) {}
+    virtual void setContextLostCallback(WebGraphicsContextLostCallback* callback) { }
     virtual void setErrorMessageCallback(WebGraphicsErrorMessageCallback* callback) { }
     // GL_ARB_robustness
     //
$ git diff master:Source/WebKit/chromium/public/platform/WebNonCopyable.h Source/Platform/chromium/public/WebNonCopyable.h
$
Comment 4 WebKit Review Bot 2012-02-24 12:36:01 PST
Please wait for approval from fishd@chromium.org before submitting because this patch contains changes to the Chromium public API.
Comment 5 WebKit Review Bot 2012-02-24 12:36:19 PST
Attachment 128783 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/Platform/ChangeLog', u'Source/Platf..." exit_code: 1
Source/Platform/chromium/public/WebGraphicsContext3D.h:195:  The parameter name "size" adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/Platform/chromium/public/WebGraphicsContext3D.h:230:  The parameter name "size" adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/Platform/chromium/public/WebGraphicsContext3D.h:231:  The parameter name "size" adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/Platform/chromium/public/WebGraphicsContext3D.h:342:  The parameter name "w" adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/Platform/chromium/public/WebGraphicsContext3D.h:344:  The parameter name "w" adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/Platform/chromium/public/WebGraphicsContext3D.h:359:  The parameter name "w" adds no information, so it should be removed.  [readability/parameter_name] [5]
Total errors found: 6 in 7 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 6 James Robinson 2012-02-24 14:38:36 PST
Committed r108848: <http://trac.webkit.org/changeset/108848>