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

Unified Diff: third_party/WebKit/Source/core/xml/XPathParser.cpp

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 years, 8 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
Index: third_party/WebKit/Source/core/xml/XPathParser.cpp
diff --git a/third_party/WebKit/Source/core/xml/XPathParser.cpp b/third_party/WebKit/Source/core/xml/XPathParser.cpp
index 0d8f070b0d7f7742b64c697cc54cb484a79236a5..f4af4058ec8b9ee327bb898aec3d6c7687ae0e05 100644
--- a/third_party/WebKit/Source/core/xml/XPathParser.cpp
+++ b/third_party/WebKit/Source/core/xml/XPathParser.cpp
@@ -43,7 +43,7 @@ using namespace WTF;
using namespace Unicode;
using namespace XPath;
-Parser* Parser::currentParser = nullptr;
+Parser* Parser::current_parser_ = nullptr;
enum XMLCat { NameStart, NameCont, NotPartOfName };
@@ -476,10 +476,10 @@ Expression* Parser::parseStatement(const String& statement,
m_resolver = resolver;
- Parser* oldParser = currentParser;
- currentParser = this;
+ Parser* oldParser = current_parser_;
+ current_parser_ = this;
int parseError = xpathyyparse(this);
- currentParser = oldParser;
+ current_parser_ = oldParser;
if (parseError) {
m_strings.clear();

Powered by Google App Engine
This is Rietveld 408576698