| Index: Source/core/xml/XPathGrammar.y
|
| diff --git a/Source/core/xml/XPathGrammar.y b/Source/core/xml/XPathGrammar.y
|
| index f40b3ce9af9ba94922ebbac7ddaf0e45390cca99..6911fcfe6013114b255058e116f6a029e3d04f61 100644
|
| --- a/Source/core/xml/XPathGrammar.y
|
| +++ b/Source/core/xml/XPathGrammar.y
|
| @@ -429,7 +429,7 @@ PathExpr:
|
| FilterExpr '/' RelativeLocationPath
|
| {
|
| $3->setAbsolute(true);
|
| - $$ = new Path(static_cast<Filter*>($1), $3);
|
| + $$ = new Path($1, $3);
|
| parser->unregisterParseNode($1);
|
| parser->unregisterParseNode($3);
|
| parser->registerParseNode($$);
|
| @@ -439,7 +439,7 @@ PathExpr:
|
| {
|
| $3->insertFirstStep($2);
|
| $3->setAbsolute(true);
|
| - $$ = new Path(static_cast<Filter*>($1), $3);
|
| + $$ = new Path($1, $3);
|
| parser->unregisterParseNode($1);
|
| parser->unregisterParseNode($2);
|
| parser->unregisterParseNode($3);
|
|
|