File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ void DocumentFinishHook(blink::WebFrame* frame,
170
170
std::string path = effective_document_url.path ();
171
171
v8::Local<v8::Context> v8_context = frame->mainWorldScriptContext ();
172
172
std::string root_path = extension->path ().AsUTF8Unsafe ();
173
- base::FilePath root (root_path );
173
+ base::FilePath root (extension-> path () );
174
174
RenderViewImpl* rv = RenderViewImpl::FromWebView (frame->view ());
175
175
if (!rv)
176
176
return ;
@@ -201,7 +201,7 @@ void DocumentElementHook(blink::WebFrame* frame,
201
201
std::string path = effective_document_url.path ();
202
202
v8::Local<v8::Context> v8_context = frame->mainWorldScriptContext ();
203
203
std::string root_path = extension->path ().AsUTF8Unsafe ();
204
- base::FilePath root (root_path );
204
+ base::FilePath root (extension-> path () );
205
205
{
206
206
blink::WebScopedMicrotaskSuppression suppression;
207
207
v8::Context::Scope cscope (v8_context);
You can’t perform that action at this time.
0 commit comments