Index: headless/lib/browser/headless_devtools_client_impl.cc |
diff --git a/headless/lib/browser/headless_devtools_client_impl.cc b/headless/lib/browser/headless_devtools_client_impl.cc |
index 2243b20b07ab39dd09016f8c036458df67f109b7..3d07de1a574600eb012acb4661eee27178faca27 100644 |
--- a/headless/lib/browser/headless_devtools_client_impl.cc |
+++ b/headless/lib/browser/headless_devtools_client_impl.cc |
@@ -45,8 +45,9 @@ HeadlessDevToolsClientImpl::HeadlessDevToolsClientImpl() |
database_domain_(this), |
debugger_domain_(this), |
device_orientation_domain_(this), |
- dom_debugger_domain_(this), |
dom_domain_(this), |
+ dom_debugger_domain_(this), |
+ dom_snapshot_domain_(this), |
dom_storage_domain_(this), |
emulation_domain_(this), |
heap_profiler_domain_(this), |
@@ -273,12 +274,16 @@ device_orientation::Domain* HeadlessDevToolsClientImpl::GetDeviceOrientation() { |
return &device_orientation_domain_; |
} |
+dom::Domain* HeadlessDevToolsClientImpl::GetDOM() { |
+ return &dom_domain_; |
+} |
+ |
dom_debugger::Domain* HeadlessDevToolsClientImpl::GetDOMDebugger() { |
return &dom_debugger_domain_; |
} |
-dom::Domain* HeadlessDevToolsClientImpl::GetDOM() { |
- return &dom_domain_; |
+dom_snapshot::Domain* HeadlessDevToolsClientImpl::GetDOMSnapshot() { |
+ return &dom_snapshot_domain_; |
} |
dom_storage::Domain* HeadlessDevToolsClientImpl::GetDOMStorage() { |