Chromium Code Reviews| Index: src/parser.h |
| diff --git a/src/parser.h b/src/parser.h |
| index 58ef47acac34b1931fe0296ab949bf76626e4862..b812c98e63af95ae084aeb22ce43d3baf23269d1 100644 |
| --- a/src/parser.h |
| +++ b/src/parser.h |
| @@ -78,6 +78,10 @@ class ParseData { |
| return reinterpret_cast<unsigned*>(const_cast<byte*>(script_data_->data())); |
| } |
| + void Reject() { script_data_->Reject(); } |
| + |
| + bool rejected() const { return script_data_->rejected(); } |
| + |
| private: |
| explicit ParseData(ScriptData* script_data) : script_data_(script_data) {} |