Index: runtime/bin/isolate_data.h |
diff --git a/runtime/bin/isolate_data.h b/runtime/bin/isolate_data.h |
index eaaa3fbe4c25a8a02f95861c839489ef5036693f..3dc0ba2f8d34ea1a9fbe74988cad0cafa2d16e82 100644 |
--- a/runtime/bin/isolate_data.h |
+++ b/runtime/bin/isolate_data.h |
@@ -20,22 +20,15 @@ class EventHandler; |
// when the isolate shuts down. |
class IsolateData { |
public: |
- explicit IsolateData(const char* url, const char* package_root) |
- : script_url(strdup(url)), |
- package_root(NULL), |
- udp_receive_buffer(NULL) { |
- if (package_root != NULL) { |
- this->package_root = strdup(package_root); |
- } |
+ explicit IsolateData(const char* url) |
+ : script_url(strdup(url)), udp_receive_buffer(NULL) { |
} |
~IsolateData() { |
free(script_url); |
- free(package_root); |
free(udp_receive_buffer); |
} |
char* script_url; |
- char* package_root; |
uint8_t* udp_receive_buffer; |
private: |