In preprocess for getting platform PCD information, if meet error, put error into...
[mirror_edk2.git] / Tools / Source / PcdTools / org / tianocore / pcd / entity / ModulePcdInfoFromFpd.java
index 09abb6f..fe9f7ec 100644 (file)
@@ -41,8 +41,8 @@ public class ModulePcdInfoFromFpd {
 \r
     **/\r
     public ModulePcdInfoFromFpd(UsageIdentification usageId,\r
-                                XmlObject           pcdBuildDefinition) {\r
+                                PcdBuildDefinition  pcdBuildDefinition) {\r
         this.usageId            = usageId;\r
-        this.pcdBuildDefinition = ((PcdBuildDefinitionDocument)pcdBuildDefinition).getPcdBuildDefinition();\r
+        this.pcdBuildDefinition = pcdBuildDefinition;\r
     }\r
 }\r