Web Browser C++ component fails on compilation

Engine version: 4.14.3

I created a new web browser C++ component. It still has nothing on it other than the created structure made by Unreal Engine. I was able to activate the plugin inside Unreal, and work with it. The problem occurs when I try to compile the web browser C++ component created. In C++, I activated the WebBrowser at:

PublicDependencyModuleNames.AddRange(new string[] { “Core”, “CoreUObject”, “Engine”, “InputCore”, “WebBrowser” });

I still get compilation errors…

My lead found the answer for this compilation error. Besides adding the “Web Browser” on the PublicDependencies, also “UMG” has to be added as in:

PublicDependencyModuleNames.AddRange(new string[] { “Core”, “CoreUObject”, “Engine”, “InputCore”, “UMG”, “WebBrowser” });