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

Unified Diff: third_party/WebKit/WebCore/dom/ExceptionContext.cpp

Issue 9018: Make ExceptionContext platform-independent using magic headers (1/2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | « third_party/WebKit/WebCore/dom/ExceptionContext.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/WebCore/dom/ExceptionContext.cpp
===================================================================
--- third_party/WebKit/WebCore/dom/ExceptionContext.cpp (revision 4268)
+++ third_party/WebKit/WebCore/dom/ExceptionContext.cpp (working copy)
@@ -36,23 +36,13 @@
namespace WebCore {
ExceptionContext::ExceptionContext(Node* node)
- : m_exec(execStateFromNode(node))
+ : m_data(execStateFromNode(node))
{
}
bool ExceptionContext::hadException()
{
- return m_exec->hadException();
+ return m_data->hadException();
}
-JSException ExceptionContext::noException()
-{
- return 0;
-}
-
-JSException ExceptionContext::exception() const
-{
- return m_exec->exception();
-}
-
} // namespace WebCore
Property changes on: third_party\WebKit\WebCore\dom\ExceptionContext.cpp
___________________________________________________________________
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/deps/third_party/WebKit/WebCore/bindings/js/ExceptionContext.cpp:r3734-4214
« no previous file with comments | « third_party/WebKit/WebCore/dom/ExceptionContext.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698