 Chromium Code Reviews
 Chromium Code Reviews Issue 1060813005:
  Componentization: fix SupplementTracing<0>::~SupplementTracing<0>(void) already defined.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master
    
  
    Issue 1060813005:
  Componentization: fix SupplementTracing<0>::~SupplementTracing<0>(void) already defined.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master| OLD | NEW | 
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "config.h" | |
| 6 #include "platform/Supplementable.h" | |
| 7 | |
| 8 // This Supplementable.cpp, which includes only config.h and | |
| 9 // Supplementable.h, should be in Source/platform, | |
| 10 // because Supplementable is not compiled without this cpp. | |
| 11 // So if we don't have this cpp, we will see unresolved symbol error | |
| 12 // when constructor/destructor's address is required. | |
| 13 // i.e. error LNK2005: "public: virtual __cdecl | |
| 14 // blink::SupplementTracing<0>::~SupplementTracing<0>(void)" | |
| 
tasak
2015/04/22 03:14:48
To compile Supplementable.h, need this cpp file.
W
 | |
| OLD | NEW |