Title: [98661] trunk/Source/WebCore
- Revision
- 98661
- Author
- [email protected]
- Date
- 2011-10-27 16:58:36 -0700 (Thu, 27 Oct 2011)
Log Message
Exception subtypes have incorrect namespace indentation
https://bugs.webkit.org/show_bug.cgi?id=71075
Reviewed by Eric Seidel.
This patch is in preparation for editing these headers. We decided to
not indent namespaces in headers and update the headers as we edited
them.
* dom/DOMCoreException.h:
(WebCore::DOMCoreException::create):
(WebCore::DOMCoreException::DOMCoreException):
* dom/EventException.h:
(WebCore::EventException::create):
(WebCore::EventException::EventException):
* dom/RangeException.h:
(WebCore::RangeException::create):
(WebCore::RangeException::RangeException):
* xml/XMLHttpRequestException.h:
(WebCore::XMLHttpRequestException::create):
(WebCore::XMLHttpRequestException::XMLHttpRequestException):
* xml/XPathException.h:
(WebCore::XPathException::create):
(WebCore::XPathException::XPathException):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (98660 => 98661)
--- trunk/Source/WebCore/ChangeLog 2011-10-27 23:55:11 UTC (rev 98660)
+++ trunk/Source/WebCore/ChangeLog 2011-10-27 23:58:36 UTC (rev 98661)
@@ -1,3 +1,30 @@
+2011-10-27 Adam Barth <[email protected]>
+
+ Exception subtypes have incorrect namespace indentation
+ https://bugs.webkit.org/show_bug.cgi?id=71075
+
+ Reviewed by Eric Seidel.
+
+ This patch is in preparation for editing these headers. We decided to
+ not indent namespaces in headers and update the headers as we edited
+ them.
+
+ * dom/DOMCoreException.h:
+ (WebCore::DOMCoreException::create):
+ (WebCore::DOMCoreException::DOMCoreException):
+ * dom/EventException.h:
+ (WebCore::EventException::create):
+ (WebCore::EventException::EventException):
+ * dom/RangeException.h:
+ (WebCore::RangeException::create):
+ (WebCore::RangeException::RangeException):
+ * xml/XMLHttpRequestException.h:
+ (WebCore::XMLHttpRequestException::create):
+ (WebCore::XMLHttpRequestException::XMLHttpRequestException):
+ * xml/XPathException.h:
+ (WebCore::XPathException::create):
+ (WebCore::XPathException::XPathException):
+
2011-10-27 Kenneth Russell <[email protected]>
Implement new restrictions on uniform and attribute location lengths
Modified: trunk/Source/WebCore/dom/DOMCoreException.h (98660 => 98661)
--- trunk/Source/WebCore/dom/DOMCoreException.h 2011-10-27 23:55:11 UTC (rev 98660)
+++ trunk/Source/WebCore/dom/DOMCoreException.h 2011-10-27 23:58:36 UTC (rev 98661)
@@ -33,19 +33,19 @@
namespace WebCore {
- class DOMCoreException : public ExceptionBase {
- public:
- static PassRefPtr<DOMCoreException> create(const ExceptionCodeDescription& description)
- {
- return adoptRef(new DOMCoreException(description));
- }
+class DOMCoreException : public ExceptionBase {
+public:
+ static PassRefPtr<DOMCoreException> create(const ExceptionCodeDescription& description)
+ {
+ return adoptRef(new DOMCoreException(description));
+ }
- private:
- DOMCoreException(const ExceptionCodeDescription& description)
- : ExceptionBase(description)
- {
- }
- };
+private:
+ DOMCoreException(const ExceptionCodeDescription& description)
+ : ExceptionBase(description)
+ {
+ }
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/dom/EventException.h (98660 => 98661)
--- trunk/Source/WebCore/dom/EventException.h 2011-10-27 23:55:11 UTC (rev 98660)
+++ trunk/Source/WebCore/dom/EventException.h 2011-10-27 23:58:36 UTC (rev 98661)
@@ -33,28 +33,28 @@
namespace WebCore {
- class EventException : public ExceptionBase {
- public:
- static PassRefPtr<EventException> create(const ExceptionCodeDescription& description)
- {
- return adoptRef(new EventException(description));
- }
+class EventException : public ExceptionBase {
+public:
+ static PassRefPtr<EventException> create(const ExceptionCodeDescription& description)
+ {
+ return adoptRef(new EventException(description));
+ }
- static const int EventExceptionOffset = 100;
- static const int EventExceptionMax = 199;
+ static const int EventExceptionOffset = 100;
+ static const int EventExceptionMax = 199;
- enum EventExceptionCode {
- UNSPECIFIED_EVENT_TYPE_ERR = EventExceptionOffset,
- DISPATCH_REQUEST_ERR
- };
-
- private:
- EventException(const ExceptionCodeDescription& description)
- : ExceptionBase(description)
- {
- }
+ enum EventExceptionCode {
+ UNSPECIFIED_EVENT_TYPE_ERR = EventExceptionOffset,
+ DISPATCH_REQUEST_ERR
};
+private:
+ EventException(const ExceptionCodeDescription& description)
+ : ExceptionBase(description)
+ {
+ }
+};
+
} // namespace WebCore
#endif // EventException_h
Modified: trunk/Source/WebCore/dom/RangeException.h (98660 => 98661)
--- trunk/Source/WebCore/dom/RangeException.h 2011-10-27 23:55:11 UTC (rev 98660)
+++ trunk/Source/WebCore/dom/RangeException.h 2011-10-27 23:58:36 UTC (rev 98661)
@@ -29,28 +29,28 @@
namespace WebCore {
- class RangeException : public ExceptionBase {
- public:
- static PassRefPtr<RangeException> create(const ExceptionCodeDescription& description)
- {
- return adoptRef(new RangeException(description));
- }
+class RangeException : public ExceptionBase {
+public:
+ static PassRefPtr<RangeException> create(const ExceptionCodeDescription& description)
+ {
+ return adoptRef(new RangeException(description));
+ }
- static const int RangeExceptionOffset = 200;
- static const int RangeExceptionMax = 299;
+ static const int RangeExceptionOffset = 200;
+ static const int RangeExceptionMax = 299;
- enum RangeExceptionCode {
- BAD_BOUNDARYPOINTS_ERR = RangeExceptionOffset + 1,
- INVALID_NODE_TYPE_ERR
- };
-
- private:
- RangeException(const ExceptionCodeDescription& description)
- : ExceptionBase(description)
- {
- }
+ enum RangeExceptionCode {
+ BAD_BOUNDARYPOINTS_ERR = RangeExceptionOffset + 1,
+ INVALID_NODE_TYPE_ERR
};
+private:
+ RangeException(const ExceptionCodeDescription& description)
+ : ExceptionBase(description)
+ {
+ }
+};
+
} // namespace WebCore
#endif // RangeException_h
Modified: trunk/Source/WebCore/xml/XMLHttpRequestException.h (98660 => 98661)
--- trunk/Source/WebCore/xml/XMLHttpRequestException.h 2011-10-27 23:55:11 UTC (rev 98660)
+++ trunk/Source/WebCore/xml/XMLHttpRequestException.h 2011-10-27 23:58:36 UTC (rev 98661)
@@ -33,28 +33,28 @@
namespace WebCore {
- class XMLHttpRequestException : public ExceptionBase {
- public:
- static PassRefPtr<XMLHttpRequestException> create(const ExceptionCodeDescription& description)
- {
- return adoptRef(new XMLHttpRequestException(description));
- }
+class XMLHttpRequestException : public ExceptionBase {
+public:
+ static PassRefPtr<XMLHttpRequestException> create(const ExceptionCodeDescription& description)
+ {
+ return adoptRef(new XMLHttpRequestException(description));
+ }
- static const int XMLHttpRequestExceptionOffset = 500;
- static const int XMLHttpRequestExceptionMax = 699;
+ static const int XMLHttpRequestExceptionOffset = 500;
+ static const int XMLHttpRequestExceptionMax = 699;
- enum XMLHttpRequestExceptionCode {
- NETWORK_ERR = XMLHttpRequestExceptionOffset + 101,
- ABORT_ERR
- };
-
- private:
- XMLHttpRequestException(const ExceptionCodeDescription& description)
- : ExceptionBase(description)
- {
- }
+ enum XMLHttpRequestExceptionCode {
+ NETWORK_ERR = XMLHttpRequestExceptionOffset + 101,
+ ABORT_ERR
};
+private:
+ XMLHttpRequestException(const ExceptionCodeDescription& description)
+ : ExceptionBase(description)
+ {
+ }
+};
+
} // namespace WebCore
#endif // XMLHttpRequestException_h
Modified: trunk/Source/WebCore/xml/XPathException.h (98660 => 98661)
--- trunk/Source/WebCore/xml/XPathException.h 2011-10-27 23:55:11 UTC (rev 98660)
+++ trunk/Source/WebCore/xml/XPathException.h 2011-10-27 23:58:36 UTC (rev 98661)
@@ -33,28 +33,28 @@
namespace WebCore {
- class XPathException : public ExceptionBase {
- public:
- static PassRefPtr<XPathException> create(const ExceptionCodeDescription& description)
- {
- return adoptRef(new XPathException(description));
- }
+class XPathException : public ExceptionBase {
+public:
+ static PassRefPtr<XPathException> create(const ExceptionCodeDescription& description)
+ {
+ return adoptRef(new XPathException(description));
+ }
- static const int XPathExceptionOffset = 400;
- static const int XPathExceptionMax = 499;
+ static const int XPathExceptionOffset = 400;
+ static const int XPathExceptionMax = 499;
- enum XPathExceptionCode {
- INVALID_EXPRESSION_ERR = XPathExceptionOffset + 51,
- TYPE_ERR
- };
-
- private:
- XPathException(const ExceptionCodeDescription& description)
- : ExceptionBase(description)
- {
- }
+ enum XPathExceptionCode {
+ INVALID_EXPRESSION_ERR = XPathExceptionOffset + 51,
+ TYPE_ERR
};
+private:
+ XPathException(const ExceptionCodeDescription& description)
+ : ExceptionBase(description)
+ {
+ }
+};
+
} // namespace WebCore
#endif // XPathException_h
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes